mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
@@ -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()),
|
||||
|
@@ -1826,8 +1826,10 @@ void Session::updateEditedMessage(const MTPMessage &data) {
|
||||
checkEntitiesAndViewsUpdate(data.c_message());
|
||||
}
|
||||
data.match([](const MTPDmessageEmpty &) {
|
||||
}, [&](const auto &data) {
|
||||
}, [&](const MTPDmessageService &data) {
|
||||
existing->applyEdition(data);
|
||||
}, [&](const auto &data) {
|
||||
existing->applyEdition(HistoryMessageEdition(_session, data));
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user