mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
Check custom reactions in channels better.
This commit is contained in:
parent
8e2240d9d9
commit
c86ca6a61a
@ -181,10 +181,12 @@ 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);
|
||||
if (allowed.type == AllowedReactionsType::Some) {
|
||||
for (const auto &id : allowed.some) {
|
||||
if (!added.contains(id)) {
|
||||
if (const auto temp = reactions->lookupTemporary(id)) {
|
||||
result.recent.push_back(temp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user