fix: reactions
This commit is contained in:
parent
a71a51c015
commit
76c890e7d0
1 changed files with 3 additions and 3 deletions
|
|
@ -451,11 +451,11 @@ class _ChatState extends State<_Chat> {
|
||||||
return _sendEmojiAction(context, emoji.emoji);
|
return _sendEmojiAction(context, emoji.emoji);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _sendEmojiAction(BuildContext context, String emoji) {
|
void _sendEmojiAction(BuildContext context, String emoji) async {
|
||||||
showFutureLoadingDialog(
|
await showFutureLoadingDialog(
|
||||||
context: context,
|
context: context,
|
||||||
future: () => room.sendReaction(
|
future: () => room.sendReaction(
|
||||||
selectedEvents.first.eventId,
|
selectedEvents.single.eventId,
|
||||||
emoji,
|
emoji,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue