hotfix for empty dialogs
This commit is contained in:
parent
4459b8d799
commit
6bf2e1af6a
@ -1691,7 +1691,7 @@ angular.module('myApp.services')
|
|||||||
}
|
}
|
||||||
|
|
||||||
function wrapForDialog (msgID, dialog) {
|
function wrapForDialog (msgID, dialog) {
|
||||||
var useCache = dialog !== undefined;
|
var useCache = msgID && dialog !== undefined;
|
||||||
var unreadCount = dialog && dialog.unread_count;
|
var unreadCount = dialog && dialog.unread_count;
|
||||||
|
|
||||||
if (useCache && messagesForDialogs[msgID] !== undefined) {
|
if (useCache && messagesForDialogs[msgID] !== undefined) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user