Browse Source

hotfix for empty dialogs

master
Igor Zhukov 9 years ago
parent
commit
6bf2e1af6a
  1. 2
      app/js/messages_manager.js

2
app/js/messages_manager.js

@ -1691,7 +1691,7 @@ angular.module('myApp.services') @@ -1691,7 +1691,7 @@ angular.module('myApp.services')
}
function wrapForDialog (msgID, dialog) {
var useCache = dialog !== undefined;
var useCache = msgID && dialog !== undefined;
var unreadCount = dialog && dialog.unread_count;
if (useCache && messagesForDialogs[msgID] !== undefined) {

Loading…
Cancel
Save