fix: reuse a deviceId if available

This commit is contained in:
td 2025-08-01 21:23:46 +02:00
parent 092eb0a931
commit bc3d2bbd6d
No known key found for this signature in database
GPG Key ID: 62A30523D4D6CE28
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,