Merge pull request #2119 from famedly/td/reuseDeviceId
fix: reuse a deviceId if available
This commit is contained in:
commit
199573634f
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue