fix: Use single-isolate push

This commit is contained in:
Sorunome 2021-02-07 17:18:38 +01:00
commit 353b1c8378
18 changed files with 1051 additions and 599 deletions

View file

@ -185,7 +185,7 @@ class _ChatState extends State<Chat> {
void dispose() {
timeline?.cancelSubscriptions();
timeline = null;
matrix.activeRoomId = '';
matrix.client.activeRoomId = '';
super.dispose();
}
@ -509,7 +509,7 @@ class _ChatState extends State<Chat> {
),
);
}
matrix.activeRoomId = widget.id;
matrix.client.activeRoomId = widget.id;
if (room.membership == Membership.invite) {
showFutureLoadingDialog(context: context, future: () => room.join());