From dd8fb7cf6cd19c48ac7459fa31b0d23fd8cc2555 Mon Sep 17 00:00:00 2001 From: Timo Date: Tue, 15 Jul 2025 17:06:29 +0200 Subject: [PATCH] make delayed event restart `localTimeoutMs` configurable --- src/client.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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