Remove a somewhat silly comment.
This commit is contained in:
parent
16a8f0f2da
commit
c1b781db6c
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class User(CreatedBase):
|
|||
@lazy
|
||||
def unread_chat_messages_count(self):
|
||||
if not self.can_access_chat:
|
||||
return 0 # return 0 if the user can't access chat
|
||||
return 0
|
||||
|
||||
# Query for all chat messages that are newer than the user's last seen timestamp
|
||||
unread_messages_count = g.db.query(ChatMessage)\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue