mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Version 1.8.12: Fix 'edited' badge display.
This commit is contained in:
@@ -1041,6 +1041,9 @@ void HistoryMessage::applyEdition(const MTPDmessage &message) {
|
||||
// }
|
||||
//}
|
||||
|
||||
const auto copyFlags = MTPDmessage::Flag::f_edit_hide;
|
||||
_flags = (_flags & ~copyFlags) | (message.vflags().v & copyFlags);
|
||||
|
||||
if (const auto editDate = message.vedit_date()) {
|
||||
_flags |= MTPDmessage::Flag::f_edit_date;
|
||||
if (!Has<HistoryMessageEdited>()) {
|
||||
|
||||
Reference in New Issue
Block a user