Support delayed events (MSC4140) for call widget (#12714)

The Widget API spec for delayed events is defined by MSC4157.

Also support "parent" delayed events, which were in a previous version
of MSC4140 and may be reintroduced or be part of a new MSC later.
This commit is contained in:
Andrew Ferrazzutti 2024-08-07 11:06:30 -04:00 committed by GitHub
parent a35bf68f22
commit a437c677bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 230 additions and 11 deletions

View file

@ -252,6 +252,10 @@ export function createTestClient(): MatrixClient {
});
}),
_unstable_sendDelayedEvent: jest.fn(),
_unstable_sendDelayedStateEvent: jest.fn(),
_unstable_updateDelayedEvent: jest.fn(),
searchUserDirectory: jest.fn().mockResolvedValue({ limited: false, results: [] }),
setDeviceVerified: jest.fn(),
joinRoom: jest.fn(),