mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix custom reactions in channels.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user