mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-25 10:50:40 +01:00
Merge branch 'krille/send-sticker-without-waiting' into 'main'
fix: Send sticker without blocking the UI See merge request famedly/fluffychat!889
This commit is contained in:
commit
f7d7ddee2d
@ -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…
x
Reference in New Issue
Block a user