Browse Source

Fixed media unsupported

master
Igor Zhukov 10 years ago
parent
commit
774fe847e9
  1. 3
      app/js/services.js

3
app/js/services.js

@ -1236,6 +1236,9 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) @@ -1236,6 +1236,9 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
if (apiMessage.media && apiMessage.media._ == 'messageMediaAudio') {
AppAudioManager.saveAudio(apiMessage.media.audio);
}
if (apiMessage.media && apiMessage.media._ == 'messageMediaUnsupported') {
delete apiMessage.media.bytes;
}
if (apiMessage.action && apiMessage.action._ == 'messageActionChatEditPhoto') {
AppPhotosManager.savePhoto(apiMessage.action.photo);
}

Loading…
Cancel
Save