diff --git a/app.manifest b/app.manifest new file mode 100644 index 00000000..a6f40c55 --- /dev/null +++ b/app.manifest @@ -0,0 +1,4 @@ +CACHE MANIFEST + +NETWORK: +* diff --git a/index.html b/index.html index 4e23df0d..d1ffecab 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - +
@@ -60,4 +60,4 @@ - \ No newline at end of file + diff --git a/js/services.js b/js/services.js index 65fd54f2..77cd672e 100644 --- a/js/services.js +++ b/js/services.js @@ -1491,7 +1491,7 @@ angular.module('myApp.services', []) notification.image = notificationPhoto.placeholder; notification.key = 'msg' + message.id; - if (notificationPhoto.location) { + if (notificationPhoto.location && !notificationPhoto.location.empty) { MtpApiFileManager.downloadSmallFile(notificationPhoto.location, notificationPhoto.size).then(function (url) { notification.image = url; diff --git a/js/templates.js b/js/templates.js index 9f5e8419..0f933de4 100644 --- a/js/templates.js +++ b/js/templates.js @@ -5,7 +5,7 @@ $templateCache.put("partials/contacts_modal.html","