Add default badge to push notification (#2859)
This commit is contained in:
1 parent
7720a17c18
commit
2237189c86
2 files changed
+1
No files matched your search
File renamed without changes.
@@ -157,6 +157,7 @@ class HTML5NotificationService(BaseNotificationService):
|
||||
'body': message,
|
||||
'data': {},
|
||||
'icon': '/static/icons/favicon-192x192.png',
|
||||
'badge': '/static/images/notification-badge.png',
|
||||
'timestamp': (timestamp*1000), # Javascript ms since epoch
|
||||
'title': kwargs.get(ATTR_TITLE)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user