mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
fix: Send sticker without blocking the UI
This commit is contained in:
parent
f89a70ea9d
commit
0c7c3bcf5a
@ -392,12 +392,9 @@ class ChatController extends State<Chat> {
|
|||||||
'url': sticker.url.toString(),
|
'url': sticker.url.toString(),
|
||||||
};
|
};
|
||||||
// send the sticker
|
// send the sticker
|
||||||
await showFutureLoadingDialog(
|
await room!.sendEvent(
|
||||||
context: context,
|
|
||||||
future: () => room!.sendEvent(
|
|
||||||
eventContent,
|
eventContent,
|
||||||
type: EventTypes.Sticker,
|
type: EventTypes.Sticker,
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user