Add default badge to push notification (#2859)

This commit is contained in:
Paulus Schoutsen authored and Robbie Trencheny committed 2016-08-16 23:05:00 -07:00
1 parent 7720a17c18
commit 2237189c86
2 files changed
+1

No files matched your search

+1
View File
@@ -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)
}