add enforce_unique: true in send reaction
This commit is contained in:
@@ -136,7 +136,9 @@ class _ReactionPickerState extends State<ReactionPicker>
|
||||
void sendReaction(BuildContext context, String reactionType) {
|
||||
StreamChannel.of(context)
|
||||
.channel
|
||||
.sendReaction(widget.message, reactionType);
|
||||
.sendReaction(widget.message, reactionType, extraData: {
|
||||
'enforce_unique': true,
|
||||
});
|
||||
pop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user