Merge pull request #2119 from famedly/td/reuseDeviceId

fix: reuse a deviceId if available
This commit is contained in:
td 2025-08-06 19:56:14 +02:00 committed by GitHub
commit 199573634f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ class Client extends MatrixApi {
identifier: identifier,
password: password,
token: token,
deviceId: deviceId,
deviceId: deviceId ?? deviceID,
initialDeviceDisplayName: initialDeviceDisplayName,
// ignore: deprecated_member_use
user: user,