From e422d290217ec615c0c4dd89c2a1b78d9e1023f3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 Mar 2021 10:39:35 +0000 Subject: [PATCH] Marking posts as read --- desktop_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')