mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-08 20:53:54 +00:00
Fix non-premium sending existing custom reaction.
This commit is contained in:
@@ -627,7 +627,10 @@ bool ShowReactPremiumError(
|
||||
ShowReactRestrictionToast(controller);
|
||||
return true;
|
||||
} else if (controller->session().premium()
|
||||
|| ranges::contains(item->chosenReactions(), id)
|
||||
|| ranges::contains(
|
||||
item->reactions(),
|
||||
id,
|
||||
&Data::MessageReaction::id)
|
||||
|| item->history()->peer->isBroadcast()) {
|
||||
return false;
|
||||
} else if (!id.custom()) {
|
||||
|
||||
Reference in New Issue
Block a user