merge-requests/21/head
Bob Mottram 2021-03-16 18:25:10 +00:00
parent d6d76539f3
commit 5c983cc9e0
1 changed files with 2 additions and 2 deletions

View File

@ -824,11 +824,11 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
indicatorDM = False indicatorDM = False
if speakerJson.get('direct'): if speakerJson.get('direct'):
if speakerJson['direct'] is True: if speakerJson['direct'] is True:
indicatorDM = speakerJson.get('direct') indicatorDM = True
indicatorReplies = False indicatorReplies = False
if speakerJson.get('replyToYou'): if speakerJson.get('replyToYou'):
if speakerJson['replyToYou'] is True: if speakerJson['replyToYou'] is True:
indicatorReplies = speakerJson.get('replyToYou') indicatorReplies = True
if firstTime: if firstTime:
# If new DM has not been viewed via web interface # If new DM has not been viewed via web interface
if not speakerJson.get('direct'): if not speakerJson.get('direct'):