mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Toggle reactions by the button.
This commit is contained in:
parent
2991c3c17f
commit
a5caebe890
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ HistoryInner::HistoryInner(
|
|||
_reactionsManager->chosen(
|
||||
) | rpl::start_with_next([=](ChosenReaction reaction) {
|
||||
if (const auto item = session().data().message(reaction.context)) {
|
||||
item->addReaction(reaction.emoji);
|
||||
item->toggleReaction(reaction.emoji);
|
||||
}
|
||||
}, lifetime());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue