Indicators off by default

merge-requests/21/head
Bob Mottram 2021-03-16 18:23:59 +00:00
parent 6591bffbd2
commit d6d76539f3
1 changed files with 2 additions and 0 deletions

View File

@ -821,9 +821,11 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
if not os.path.isdir(soundsDir):
soundsDir = 'theme/default/sounds'
indicatorDM = False
if speakerJson.get('direct'):
if speakerJson['direct'] is True:
indicatorDM = speakerJson.get('direct')
indicatorReplies = False
if speakerJson.get('replyToYou'):
if speakerJson['replyToYou'] is True:
indicatorReplies = speakerJson.get('replyToYou')