diff options
Diffstat (limited to 'lib/Travelynx/Controller/Profile.pm')
-rwxr-xr-x | lib/Travelynx/Controller/Profile.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm index d77e6f7..c242f58 100755 --- a/lib/Travelynx/Controller/Profile.pm +++ b/lib/Travelynx/Controller/Profile.pm @@ -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'; } |