refactor: active room ID now only in defined in the path
This commit is contained in:
parent
dca23d3819
commit
18abb21cdb
5 changed files with 8 additions and 8 deletions
|
|
@ -204,7 +204,6 @@ class ChatController extends State<Chat> {
|
|||
void dispose() {
|
||||
timeline?.cancelSubscriptions();
|
||||
timeline = null;
|
||||
matrix.client.activeRoomId = '';
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ class ChatView extends StatelessWidget {
|
|||
),
|
||||
);
|
||||
}
|
||||
controller.matrix.client.activeRoomId = controller.roomId;
|
||||
|
||||
if (controller.room.membership == Membership.invite) {
|
||||
showFutureLoadingDialog(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue