2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-11 14:06:25 +00:00

Suggested reaction effect around the widget.

This commit is contained in:
John Preston
2023-09-14 18:47:22 +04:00
parent 5d5cae7860
commit d4ba01bad0
7 changed files with 159 additions and 12 deletions

View File

@@ -567,7 +567,8 @@ void Story::applyFields(
}
}
auto total = 0;
if (const auto list = data.vreactions()) {
if (const auto list = data.vreactions()
; list && _peer->isChannel()) {
reactionsCounts.reserve(list->v.size());
for (const auto &reaction : list->v) {
const auto &data = reaction.data();