profile: treat self as follower
This commit is contained in:
parent
915e90a285
commit
f794d3c0a4
1 changed files with 4 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue