Handle no notifications

merge-requests/21/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()
_showDesktopBanner()
notificationIcons = ''
if notifyJson:
if notifyJson.get('followRequests'):
notificationIcons += '👤'
if notifyJson.get('dm'):