mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Version 1.8.12: Fix 'edited' badge display.
This commit is contained in:
parent
982edcb310
commit
60640c7087
1 changed files with 3 additions and 0 deletions
|
@ -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>()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue