fix: Client names being super long

onboarding
Sorunome 3 years ago
parent b7053c2044
commit 2b550aa0a4

@ -134,7 +134,8 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
final multiAccount = client.isLogged();
if (!multiAccount) return client;
_loginClientCandidate ??= ClientManager.createClient(
client.generateUniqueTransactionId())
// we use the first clients here, else we can easily end up with super long client names.
widget.clients.first.generateUniqueTransactionId())
..onLoginStateChanged
.stream
.where((l) => l == LoginState.loggedIn)

Loading…
Cancel
Save