summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-06-29 21:52:18 +0200
committerDerf Null <derf@finalrewind.org>2023-06-29 21:52:18 +0200
commitf794d3c0a4b8caaac91ed32ddfbfa0f41348749c (patch)
tree07c06f85781e96d6e9b1b55e81f499a2034bbe7d /lib
parent915e90a285670529358f22e54b6dc1a0bec03568 (diff)
profile: treat self as follower
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm5
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';
}