2
0
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:
John Preston
2021-12-21 15:29:40 +00:00
parent 118072db77
commit fe468ce7e9
9 changed files with 22 additions and 12 deletions

View File

@@ -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();
}