mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix custom reactions in channels.
This commit is contained in:
parent
28acaf06ad
commit
8e2240d9d9
1 changed files with 7 additions and 0 deletions
|
@ -181,6 +181,13 @@ PossibleItemReactionsRef LookupPossibleReactions(
|
|||
}
|
||||
return true;
|
||||
});
|
||||
for (const auto &id : allowed.some) {
|
||||
if (!added.contains(id)) {
|
||||
if (const auto temp = reactions->lookupTemporary(id)) {
|
||||
result.recent.push_back(temp);
|
||||
}
|
||||
}
|
||||
}
|
||||
result.customAllowed = (allowed.type == AllowedReactionsType::All)
|
||||
&& premiumPossible;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue