Add missing token property when login.

This commit is contained in:
Ray Wang 2020-12-10 02:11:48 +00:00
parent 88888a43f1
commit b37b347022
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ class MatrixApi {
if (medium != null) 'medium': medium, if (medium != null) 'medium': medium,
if (address != null) 'address': address, if (address != null) 'address': address,
if (password != null) 'password': password, if (password != null) 'password': password,
if (token != null) 'token': token,
if (deviceId != null) 'device_id': deviceId, if (deviceId != null) 'device_id': deviceId,
if (initialDeviceDisplayName != null) if (initialDeviceDisplayName != null)
'initial_device_display_name': initialDeviceDisplayName, 'initial_device_display_name': initialDeviceDisplayName,