Stop using deprecated methods, fields & exports (#12524)
* Remove legacy `threepidCreds` field Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove `user` field legacy UIA fallback Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update imports Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix test Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
bec8fdb3d3
commit
113c365563
12 changed files with 13 additions and 45 deletions
|
@ -641,7 +641,6 @@ export function mkStubRoom(
|
|||
roomId,
|
||||
setBlacklistUnverifiedDevices: jest.fn(),
|
||||
setUnreadNotificationCount: jest.fn(),
|
||||
shouldUpgradeToVersion: (() => null) as () => string | null,
|
||||
tags: {},
|
||||
timeline: [],
|
||||
} as unknown as Room;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue