diff --git a/desktop_client.py b/desktop_client.py index 4c8fc6f4c..7f4df07de 100644 --- a/desktop_client.py +++ b/desktop_client.py @@ -673,7 +673,7 @@ def _readLocalBoxPost(session, nickname: str, domain: str, # if the post is addressed to you then mark it as read if _postIsToYou(yourActor, postJsonObject): - if isDM(postJsonObject['id']): + if isDM(postJsonObject): _markPostAsRead(yourActor, postJsonObject['id'], 'dm') else: _markPostAsRead(yourActor, postJsonObject['id'], 'replies')