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) {
|
void sendReaction(BuildContext context, String reactionType) {
|
||||||
StreamChannel.of(context)
|
StreamChannel.of(context)
|
||||||
.channel
|
.channel
|
||||||
.sendReaction(widget.message, reactionType);
|
.sendReaction(widget.message, reactionType, extraData: {
|
||||||
|
'enforce_unique': true,
|
||||||
|
});
|
||||||
pop();
|
pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user