2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-10-27 15:07:24 +00:00

Start paid reaction toast notification.

This commit is contained in:
John Preston
2024-08-08 10:56:31 +02:00
parent 02610de010
commit ac92e1c99e
19 changed files with 371 additions and 6 deletions

View File

@@ -62,6 +62,8 @@ void TryAddingPaidReaction(
if (const auto item = checkItem()) {
item->addPaidReaction(count);
if (const auto view = weakView.get()) {
const auto history = view->history();
history->owner().notifyViewPaidReactionSent(view);
view->animateReaction({
.id = Data::ReactionId::Paid(),
});