refactor: active room ID now only in defined in the path

This commit is contained in:
Christian Pauly 2021-06-06 10:00:52 +02:00
commit 18abb21cdb
5 changed files with 8 additions and 8 deletions

View file

@ -204,7 +204,6 @@ class ChatController extends State<Chat> {
void dispose() {
timeline?.cancelSubscriptions();
timeline = null;
matrix.client.activeRoomId = '';
super.dispose();
}

View file

@ -47,7 +47,6 @@ class ChatView extends StatelessWidget {
),
);
}
controller.matrix.client.activeRoomId = controller.roomId;
if (controller.room.membership == Membership.invite) {
showFutureLoadingDialog(