Merge branch 'soru/single-isolate-push-alt' into 'main'

fix: Use single-isolate push

Closes #207, #94, and #294

See merge request famedly/fluffychat!377
This commit is contained in:
Sorunome 2021-02-21 09:25:38 +00:00
commit cd68c06ac9
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();
}
@ -510,7 +510,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());