Skip to content
Snippets Groups Projects
Unverified Commit f794d3c0 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

profile: treat self as follower

parent 915e90a2
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,10 @@ sub profile { ...@@ -170,7 +170,10 @@ sub profile {
$opt{with_default_visibility} = 0; $opt{with_default_visibility} = 0;
} }
if ($my_user) { if ($is_self) {
$opt{min_visibility} = 'followers';
}
elsif ($my_user) {
if ( $relation and $relation eq 'follows' ) { if ( $relation and $relation eq 'follows' ) {
$opt{min_visibility} = 'followers'; $opt{min_visibility} = 'followers';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment