Unverified Commit ee048085 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

show follower-only checkins and journeys when viewing own profile

parent ab04bc19
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -114,6 +114,7 @@ sub profile {
				or (
					$visibility eq 'followers'
					and (  ( $relation and $relation eq 'follows' )
						or $is_self
						or $self->status_token_ok($status) )
				)
			)
@@ -290,6 +291,7 @@ sub journey_details {
			or (
				$visibility eq 'followers'
				and (  ( $relation and $relation eq 'follows' )
					or $is_self
					or $self->journey_token_ok($journey) )
			)
		)
@@ -428,6 +430,7 @@ sub user_status {
				or (
					$visibility eq 'followers'
					and (  ( $relation and $relation eq 'follows' )
						or $is_self
						or $self->journey_token_ok( $journey, $ts ) )
				)
			  )
@@ -477,6 +480,7 @@ sub user_status {
				or (
					$visibility eq 'followers'
					and (  ( $relation and $relation eq 'follows' )
						or $is_self
						or $self->status_token_ok( $status, $ts ) )
				)
			)
@@ -592,6 +596,7 @@ sub status_card {
				or (
					$visibility eq 'followers'
					and (  ( $relation and $relation eq 'follows' )
						or $is_self
						or $self->status_token_ok($status) )
				)
			)