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