mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use reactions icon in context menu if more than 1 reaction type.
This commit is contained in:
@@ -493,7 +493,9 @@ rpl::producer<Ui::WhoReadContent> WhoReacted(
|
||||
[](const auto &pair) { return pair.second; });
|
||||
|
||||
// #TODO reactions
|
||||
state->current.mostPopularReaction = item->reactions().front().first;
|
||||
state->current.singleReaction = (list.size() == 1)
|
||||
? list.front().first
|
||||
: QString();
|
||||
}
|
||||
std::move(
|
||||
idsWithReactions
|
||||
|
Reference in New Issue
Block a user