mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 22:42:33 +01:00
fix: reactions
This commit is contained in:
parent
c993909ccf
commit
92684da3c3
@ -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…
Reference in New Issue
Block a user