diff --git a/src/client.ts b/src/client.ts index 6ee06d429..7950029ca 100644 --- a/src/client.ts +++ b/src/client.ts @@ -493,6 +493,12 @@ export interface IStartClientOpts { */ pollTimeout?: number; + /** + * The maximum amount of time to wait before timing out the `POST /_matrix/client/v1/delayed_events/{delay_id}` with `action = "restart"` requests. + * If not specified, the default `localTimeoutMs` will be used. + */ + delayedEventRestartLocalTimeoutMS?: number; + /** * The filter to apply to /sync calls. */ @@ -3473,8 +3479,12 @@ export class MatrixClient extends TypedEventEmitter