mirror of https://gitlab.com/bashrc2/epicyon
Check read status before highlighting
parent
ebb2453542
commit
9e8045d047
|
@ -1010,7 +1010,9 @@ def _desktopShowBox(yourActor: str, boxName: str, boxJson: {},
|
|||
published + ' | ' + content
|
||||
if boxName == 'inbox' and \
|
||||
_postIsToYou(yourActor, postJsonObject):
|
||||
lineStr = '\33[7m' + lineStr + '\33[0m'
|
||||
if not _hasReadPost(actor, postJsonObject['id'], 'dm'):
|
||||
if not _hasReadPost(actor, postJsonObject['id'], 'replies'):
|
||||
lineStr = '\33[7m' + lineStr + '\33[0m'
|
||||
print(lineStr)
|
||||
ctr += 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue