Handle no notifications

merge-requests/30/head
Bob Mottram 2021-03-15 17:52:41 +00:00
parent 4c794b0155
commit 058b88577c
1 changed files with 14 additions and 13 deletions

View File

@ -409,6 +409,7 @@ def _showLocalBox(notifyJson: {}, boxName: str,
_clearScreen() _clearScreen()
_showDesktopBanner() _showDesktopBanner()
notificationIcons = '' notificationIcons = ''
if notifyJson:
if notifyJson.get('followRequests'): if notifyJson.get('followRequests'):
notificationIcons += '👤' notificationIcons += '👤'
if notifyJson.get('dm'): if notifyJson.get('dm'):