CSS changes
This commit is contained in:
parent
8b5e2ed41b
commit
5ba9f1d7d5
3 changed files with 8 additions and 7 deletions
|
|
@ -156,7 +156,7 @@ class Message(BaseModel):
|
|||
# even if unlisted
|
||||
return not is_public_timeline
|
||||
elif privacy == MSGPRV_FRIENDS:
|
||||
if cur_user.is_anonymous:
|
||||
if not cur_user or cur_user.is_anonymous:
|
||||
return False
|
||||
return user.is_following(cur_user) and cur_user.is_following(user)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue