1
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-03-24 12:22:44 +00:00

Don't refresh messages redundantly.

Fixes .
This commit is contained in:
John Preston 2019-12-10 10:49:29 +03:00
parent e60a9f0943
commit f88466a376
2 changed files with 1 additions and 6 deletions
Telegram
SourceFiles/history
lib_ui

View File

@ -594,11 +594,6 @@ HistoryItem *History::createItem(
if (detachExistingItem) {
result->removeMainView();
}
if (message.type() == mtpc_message) {
result->updateSentContent(
result->originalText(),
message.c_message().vmedia());
}
return result;
}
return HistoryItem::Create(this, message, clientFlags);

@ -1 +1 @@
Subproject commit fcb44b320c008b21f9e168149a3ac72f68530b4c
Subproject commit 604f62599e9ee5f4d57d778ebbe9403c2a875245