mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Implement PoC custom reaction selection.
This commit is contained in:
@@ -351,7 +351,7 @@ bool ShowSendPremiumError(
|
||||
const auto type = peer->isBroadcast()
|
||||
? ReactionDisableType::Channel
|
||||
: ReactionDisableType::Group;
|
||||
if (const auto allowed = Data::PeerAllowedReactions(peer)) {
|
||||
if (const auto allowed = Data::PeerReactionsFilter(peer).allowed) {
|
||||
for (const auto &reaction : list) {
|
||||
if (reaction.premium
|
||||
&& !allowed->contains(reaction.id.emoji())) {
|
||||
|
Reference in New Issue
Block a user