mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-17 14:30:40 +01: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
dc130395f9
@ -134,7 +134,8 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
|||||||
final multiAccount = client.isLogged();
|
final multiAccount = client.isLogged();
|
||||||
if (!multiAccount) return client;
|
if (!multiAccount) return client;
|
||||||
_loginClientCandidate ??= ClientManager.createClient(
|
_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
|
..onLoginStateChanged
|
||||||
.stream
|
.stream
|
||||||
.where((l) => l == LoginState.loggedIn)
|
.where((l) => l == LoginState.loggedIn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user