Preparing for release

This commit is contained in:
Yusur 2019-11-05 17:03:58 +01:00
parent 7ede351b11
commit c57088c6c3
4 changed files with 12 additions and 6 deletions

View file

@ -149,7 +149,7 @@ class Message(BaseModel):
# even if unlisted
return not is_public_timeline
elif privacy == MSGPRV_FRIENDS:
if cur_user is None:
if cur_user.is_anonymous:
return False
return user.is_following(cur_user) and cur_user.is_following(user)
else: