|
|
@ -2762,7 +2762,6 @@ angular.module('myApp.services', []) |
|
|
|
|
|
|
|
|
|
|
|
case 'updatesCombined': |
|
|
|
case 'updatesCombined': |
|
|
|
case 'updates': |
|
|
|
case 'updates': |
|
|
|
default: |
|
|
|
|
|
|
|
AppUsersManager.saveApiUsers(updateMessage.users); |
|
|
|
AppUsersManager.saveApiUsers(updateMessage.users); |
|
|
|
AppChatsManager.saveApiChats(updateMessage.chats); |
|
|
|
AppChatsManager.saveApiChats(updateMessage.chats); |
|
|
|
|
|
|
|
|
|
|
@ -2790,6 +2789,9 @@ angular.module('myApp.services', []) |
|
|
|
saveUpdate(update); |
|
|
|
saveUpdate(update); |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
console.warn(dT(), 'Unknown update message', updateMessage); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
popPendingUpdate(); |
|
|
|
popPendingUpdate(); |
|
|
|