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);
}
void _sendEmojiAction(BuildContext context, String emoji) {
showFutureLoadingDialog(
void _sendEmojiAction(BuildContext context, String emoji) async {
await showFutureLoadingDialog(
context: context,
future: () => room.sendReaction(
selectedEvents.first.eventId,
selectedEvents.single.eventId,
emoji,
),
);