Browse Source

mtproto bugfixes

master
Igor Zhukov 11 years ago
parent
commit
5e4b41068d
  1. 3
      app/js/lib/mtproto.js
  2. 4
      app/js/services.js

3
app/js/lib/mtproto.js

@ -1470,6 +1470,9 @@ angular.module('izhukov.mtproto', ['izhukov.utils']) @@ -1470,6 +1470,9 @@ angular.module('izhukov.mtproto', ['izhukov.utils'])
this.reqResendMessage(message.answer_msg_id);
break;
case 'msgs_state_info':
break;
case 'rpc_result':
this.ackMessage(messageID);

4
app/js/services.js

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

Loading…
Cancel
Save