mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Check custom reactions in channels better.
This commit is contained in:
@@ -181,10 +181,12 @@ PossibleItemReactionsRef LookupPossibleReactions(
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
for (const auto &id : allowed.some) {
|
if (allowed.type == AllowedReactionsType::Some) {
|
||||||
if (!added.contains(id)) {
|
for (const auto &id : allowed.some) {
|
||||||
if (const auto temp = reactions->lookupTemporary(id)) {
|
if (!added.contains(id)) {
|
||||||
result.recent.push_back(temp);
|
if (const auto temp = reactions->lookupTemporary(id)) {
|
||||||
|
result.recent.push_back(temp);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user