Merge branch 'krille/send-sticker-without-waiting' into 'main'

fix: Send sticker without blocking the UI

See merge request famedly/fluffychat!889
krille/use-hive-collections
Krille Fear 3 years ago
commit 5dc2eb5bda

@ -392,12 +392,9 @@ class ChatController extends State<Chat> {
'url': sticker.url.toString(),
};
// send the sticker
await showFutureLoadingDialog(
context: context,
future: () => room!.sendEvent(
eventContent,
type: EventTypes.Sticker,
),
await room!.sendEvent(
eventContent,
type: EventTypes.Sticker,
);
}

Loading…
Cancel
Save