mirror of https://gitlab.com/bashrc2/epicyon
Marking posts as read
parent
dbad3f2fbd
commit
e422d29021
|
@ -673,7 +673,7 @@ def _readLocalBoxPost(session, nickname: str, domain: str,
|
||||||
|
|
||||||
# if the post is addressed to you then mark it as read
|
# if the post is addressed to you then mark it as read
|
||||||
if _postIsToYou(yourActor, postJsonObject):
|
if _postIsToYou(yourActor, postJsonObject):
|
||||||
if isDM(postJsonObject['id']):
|
if isDM(postJsonObject):
|
||||||
_markPostAsRead(yourActor, postJsonObject['id'], 'dm')
|
_markPostAsRead(yourActor, postJsonObject['id'], 'dm')
|
||||||
else:
|
else:
|
||||||
_markPostAsRead(yourActor, postJsonObject['id'], 'replies')
|
_markPostAsRead(yourActor, postJsonObject['id'], 'replies')
|
||||||
|
|
Loading…
Reference in New Issue