Use stable get_login_token and remove unstable MSC3882 support (#11001)
* Support for stable MSC3882 get_login_token * Fix unstable name type * Remove tests for unstable MSC3882 * Fix up tests
This commit is contained in:
parent
0ab51bc59d
commit
4fd8ab933a
5 changed files with 23 additions and 81 deletions
|
@ -28,7 +28,7 @@ import {
|
|||
PUSHER_DEVICE_ID,
|
||||
PUSHER_ENABLED,
|
||||
IAuthData,
|
||||
UNSTABLE_MSC3882_CAPABILITY,
|
||||
GET_LOGIN_TOKEN_CAPABILITY,
|
||||
CryptoApi,
|
||||
DeviceVerificationStatus,
|
||||
MatrixError,
|
||||
|
@ -1534,7 +1534,7 @@ describe("<SessionManagerTab />", () => {
|
|||
},
|
||||
});
|
||||
mockClient.getCapabilities.mockResolvedValue({
|
||||
[UNSTABLE_MSC3882_CAPABILITY.name]: {
|
||||
[GET_LOGIN_TOKEN_CAPABILITY.name]: {
|
||||
enabled: true,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue