|
|
@ -2019,6 +2019,10 @@ angular.module('myApp.services') |
|
|
|
return message; |
|
|
|
return message; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function clearDialogCache (msgID) { |
|
|
|
|
|
|
|
delete messagesForDialogs[msgID]; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function wrapForHistory (msgID) { |
|
|
|
function wrapForHistory (msgID) { |
|
|
|
if (messagesForHistory[msgID] !== undefined) { |
|
|
|
if (messagesForHistory[msgID] !== undefined) { |
|
|
|
return messagesForHistory[msgID]; |
|
|
|
return messagesForHistory[msgID]; |
|
|
@ -2980,6 +2984,7 @@ angular.module('myApp.services') |
|
|
|
convertMigratedPeer: convertMigratedPeer, |
|
|
|
convertMigratedPeer: convertMigratedPeer, |
|
|
|
getMessagePeer: getMessagePeer, |
|
|
|
getMessagePeer: getMessagePeer, |
|
|
|
getMessageThumb: getMessageThumb, |
|
|
|
getMessageThumb: getMessageThumb, |
|
|
|
|
|
|
|
clearDialogCache: clearDialogCache, |
|
|
|
wrapForDialog: wrapForDialog, |
|
|
|
wrapForDialog: wrapForDialog, |
|
|
|
wrapForHistory: wrapForHistory, |
|
|
|
wrapForHistory: wrapForHistory, |
|
|
|
wrapReplyMarkup: wrapReplyMarkup, |
|
|
|
wrapReplyMarkup: wrapReplyMarkup, |
|
|
|