chore: Follow up spaces fix

This commit is contained in:
Christian Pauly 2022-09-10 11:39:23 +02:00
parent 9bc3c90217
commit ae29343374

View File

@ -574,6 +574,7 @@ class ChatListController extends State<ChatList>
void setActiveClient(Client client) { void setActiveClient(Client client) {
VRouter.of(context).to('/rooms'); VRouter.of(context).to('/rooms');
setState(() { setState(() {
activeSpaceId = null;
selectedRoomIds.clear(); selectedRoomIds.clear();
Matrix.of(context).setActiveClient(client); Matrix.of(context).setActiveClient(client);
}); });