mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-19 17:35:18 +00:00
Merge branch 'soru/fix-client-name' into 'main'
fix: Client names being super long See merge request famedly/fluffychat!524
This commit is contained in:
commit
6cf7abc71b
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue