diff options
author | Derf Null <derf@finalrewind.org> | 2023-06-29 21:52:18 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-06-29 21:52:18 +0200 |
commit | f794d3c0a4b8caaac91ed32ddfbfa0f41348749c (patch) | |
tree | 07c06f85781e96d6e9b1b55e81f499a2034bbe7d /lib/Travelynx/Controller | |
parent | 915e90a285670529358f22e54b6dc1a0bec03568 (diff) |
profile: treat self as follower
Diffstat (limited to 'lib/Travelynx/Controller')
-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'; } |