mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-28 17:12:33 +01:00
fix: Client names being super long
This commit is contained in:
parent
396a433cae
commit
9999105d34
@ -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…
Reference in New Issue
Block a user