fix: reactions

This commit is contained in:
Christian Pauly 2020-12-27 19:24:47 +01:00
parent c993909ccf
commit 92684da3c3

View File

@ -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,
), ),
); );