mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Apply reactions from message edit updates.
This commit is contained in:
@@ -452,6 +452,7 @@ void SendConfirmedFile(
|
||||
edition.textWithEntities = caption;
|
||||
edition.useSameMarkup = true;
|
||||
edition.useSameReplies = true;
|
||||
edition.useSameReactions = true;
|
||||
itemToEdit->applyEdition(std::move(edition));
|
||||
} else {
|
||||
const auto viaBotId = UserId();
|
||||
|
@@ -1625,7 +1625,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
peer,
|
||||
d.vmsg_id().v);
|
||||
if (item) {
|
||||
item->updateReactions(d.vreactions());
|
||||
item->updateReactions(&d.vreactions());
|
||||
}
|
||||
}
|
||||
} break;
|
||||
|
Reference in New Issue
Block a user