fix: Login multiple accounts after another

This commit is contained in:
Christian Pauly 2021-09-19 14:37:11 +02:00
parent 46eeaeea3a
commit 571b416b45

View File

@ -140,6 +140,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
.where((l) => l == LoginState.loggedIn)
.first
.then((_) {
_loginClientCandidate = null;
widget.clients.add(_loginClientCandidate);
ClientManager.addClientNameToStore(_loginClientCandidate.clientName);
_registerSubs(_loginClientCandidate.clientName);