CSS changes

This commit is contained in:
Yusur 2024-06-16 11:22:54 +02:00
parent 8b5e2ed41b
commit 5ba9f1d7d5
3 changed files with 8 additions and 7 deletions

View file

@ -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: