mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Respect can_see_list flag in reactions.
This commit is contained in:
@@ -410,7 +410,7 @@ rpl::producer<int> FullReactionsCountValue(
|
||||
) | rpl::then(
|
||||
reactions->updates()
|
||||
) | rpl::map([=] {
|
||||
return int(reactions->list().size());
|
||||
return int(reactions->list(Data::Reactions::Type::Active).size());
|
||||
}) | rpl::distinct_until_changed();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user