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:
@@ -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(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user