parent
2115a81a4f
commit
287a35eea6
@ -1676,7 +1676,7 @@ angular.module('myApp.services')
|
|||||||
}
|
}
|
||||||
|
|
||||||
function wrapForDialog (msgID, dialog) {
|
function wrapForDialog (msgID, dialog) {
|
||||||
var useCache = dialog === undefined;
|
var useCache = 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