Browse Source

Update 2016-12-16T18:38:35.643Z

gh-pages
Igor Zhukov 8 years ago
parent
commit
b2d44f5a75
  1. 2
      js/lib/push_worker.js
  2. 2
      service_worker.js
  3. 10
      webogram.appcache

2
js/lib/push_worker.js

@ -31,7 +31,7 @@ self.addEventListener('push', function(event) {
console.log('[SW] Closing all notifications on push') console.log('[SW] Closing all notifications on push')
var promise = self.registration.showNotification('Telegram').then(function () { var promise = self.registration.showNotification('Telegram').then(function () {
// return closeAllNotifications() // return closeAllNotifications()
setTimeout(closeAllNotifications, 0) setTimeout(closeAllNotifications, 100)
}).catch(function (error) { }).catch(function (error) {
console.error('Show notification error', error) console.error('Show notification error', error)
}) })

2
service_worker.js

File diff suppressed because one or more lines are too long

10
webogram.appcache

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# Time: Fri Dec 16 2016 21:26:09 GMT+0300 (MSK) # Time: Fri Dec 16 2016 21:38:18 GMT+0300 (MSK)
CACHE: CACHE:
@ -46,6 +46,10 @@ img/icons/PhotoIcons.png
img/icons/PhotoIcons_2x.png img/icons/PhotoIcons_2x.png
img/icons/ProfileIcons.png img/icons/ProfileIcons.png
img/icons/ProfileIcons_2x.png img/icons/ProfileIcons_2x.png
js/lib/bin_utils.js
js/lib/crypto_worker.js
js/lib/polyfill.js
js/lib/push_worker.js
img/placeholders/DialogListAvatarSystem@2x.png img/placeholders/DialogListAvatarSystem@2x.png
img/placeholders/GroupAvatar1@2x.png img/placeholders/GroupAvatar1@2x.png
img/placeholders/GroupAvatar2@2x.png img/placeholders/GroupAvatar2@2x.png
@ -63,10 +67,6 @@ img/placeholders/UserAvatar7@2x.png
img/placeholders/UserAvatar8@2x.png img/placeholders/UserAvatar8@2x.png
img/placeholders/VideoThumbConversation.gif img/placeholders/VideoThumbConversation.gif
img/placeholders/VideoThumbModal.gif img/placeholders/VideoThumbModal.gif
js/lib/bin_utils.js
js/lib/crypto_worker.js
js/lib/polyfill.js
js/lib/push_worker.js
js/locales/de-de.json js/locales/de-de.json
js/locales/en-us.json js/locales/en-us.json
js/locales/es-es.json js/locales/es-es.json

Loading…
Cancel
Save