2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Removed MTP* from applying message edition.

Fixed #17073.
This commit is contained in:
23rd
2021-10-08 01:40:10 +03:00
committed by John Preston
parent 6c0dccd9ff
commit 816f422e21
11 changed files with 118 additions and 73 deletions

View File

@@ -448,7 +448,7 @@ HistoryItem *ScheduledMessages::append(
// so if we receive a flag about it,
// probably this message was edited.
if (data.is_edit_hide()) {
existing->applyEdition(data);
existing->applyEdition(HistoryMessageEdition(_session, data));
}
existing->updateSentContent({
qs(data.vmessage()),