mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-22 17:20:43 +01:00
fix: Bundle switch
This commit is contained in:
parent
4e8111a150
commit
cf712c79f9
@ -423,6 +423,12 @@ class ChatListController extends State<ChatList> {
|
|||||||
_activeSpaceId = null;
|
_activeSpaceId = null;
|
||||||
selectedRoomIds.clear();
|
selectedRoomIds.clear();
|
||||||
Matrix.of(context).activeBundle = bundle;
|
Matrix.of(context).activeBundle = bundle;
|
||||||
|
if (!Matrix.of(context)
|
||||||
|
.currentBundle
|
||||||
|
.any((client) => client == Matrix.of(context).client)) {
|
||||||
|
Matrix.of(context)
|
||||||
|
.setActiveClient(Matrix.of(context).currentBundle.first);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
void editBundlesForAccount(String userId) async {
|
void editBundlesForAccount(String userId) async {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user