Use flag rather than speaker endpoint

merge-requests/21/head
Bob Mottram 2021-03-16 18:33:39 +00:00
parent 931e5a2080
commit 5fba3faabc
1 changed files with 2 additions and 2 deletions

View File

@ -431,9 +431,9 @@ def _showLocalBox(notifyJson: {}, boxName: str,
if notifyJson:
if notifyJson.get('followRequests'):
notificationIcons += ' 👤'
if notifyJson.get('dm'):
if newDMs:
notificationIcons += ' 📩'
if notifyJson.get('reply'):
if newReplies:
notificationIcons += ' 📨'
if notifyJson.get('calendar'):
notificationIcons += ' 📅'