From 5fba3faabc3b34cbb1e2be63ade9a63debc1e7fd Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 16 Mar 2021 18:33:39 +0000 Subject: [PATCH] Use flag rather than speaker endpoint --- notifications_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notifications_client.py b/notifications_client.py index 3a9f01501..ced2532d2 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -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 += ' 📅'