9985e91a69
If Service Workers are available use them to display notifications instead of the old way of creating notifications directly. This has the side effect that it works nicely on chrome on android which the old method does not. This also paves the way to set up GCM for push notification in the future which can give us push notifications without having the app running. This patch can be improved in the future to get existing notifications and change the message instead of just adding more and more notifications. See: ServiceWorkerRegistration.getNotifications() and ServiceWorkerRegistration.update() from https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration |
||
---|---|---|
.. | ||
connection.js | ||
file-change.js | ||
filters.js | ||
glowingbear.js | ||
handlers.js | ||
imgur-drop-directive.js | ||
imgur.js | ||
inputbar.js | ||
irc-utils.js | ||
localstorage.js | ||
models.js | ||
notifications.js | ||
plugin-directive.js | ||
plugins.js | ||
settings.js | ||
utils.js | ||
websockets.js | ||
weechat.js |