|
|
@ -1118,7 +1118,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) |
|
|
|
if (chatFullPromises[id] !== undefined) { |
|
|
|
if (chatFullPromises[id] !== undefined) { |
|
|
|
return chatFullPromises[id] |
|
|
|
return chatFullPromises[id] |
|
|
|
} |
|
|
|
} |
|
|
|
console.trace(dT(), 'Get chat full', id, AppChatsManager.getChat(id)) |
|
|
|
// console.trace(dT(), 'Get chat full', id, AppChatsManager.getChat(id))
|
|
|
|
return chatFullPromises[id] = MtpApiManager.invokeApi('messages.getFullChat', { |
|
|
|
return chatFullPromises[id] = MtpApiManager.invokeApi('messages.getFullChat', { |
|
|
|
chat_id: AppChatsManager.getChatInput(id) |
|
|
|
chat_id: AppChatsManager.getChatInput(id) |
|
|
|
}).then(function (result) { |
|
|
|
}).then(function (result) { |
|
|
|