From 194fe6cade7d4892690b7467381d9008e995825c Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Tue, 12 Aug 2025 17:53:02 +0530 Subject: [PATCH] make predecessor event id optional --- src/types/matrix/room.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/matrix/room.ts b/src/types/matrix/room.ts index 82b5451f..f0927b3c 100644 --- a/src/types/matrix/room.ts +++ b/src/types/matrix/room.ts @@ -71,7 +71,7 @@ export type IRoomCreateContent = { room_version: string; type?: string; predecessor?: { - event_id: string; + event_id?: string; room_id: string; }; };