profile: treat self as follower

This commit is contained in:
Derf Null 2023-06-29 21:52:18 +02:00
parent 915e90a285
commit f794d3c0a4
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -170,7 +170,10 @@ sub profile {
$opt{with_default_visibility} = 0;
}
if ($my_user) {
if ($is_self) {
$opt{min_visibility} = 'followers';
}
elsif ($my_user) {
if ( $relation and $relation eq 'follows' ) {
$opt{min_visibility} = 'followers';
}