commit a665b008cd23f3c737c137c83fca4cdf64e1656b
parent c7732e210e9bf6f4d771756c618bbf4b73a7e026
Author: MTRNord <mtrnord1@gmail.com>
Date: Thu, 13 Jun 2024 10:10:29 +0200
Fix room_ids
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bot.ts b/src/bot.ts
@@ -87,7 +87,7 @@ function convertEventToDocument(event: any, roomId: string, room_name?: string)
id: normalizeEventId(event["event_id"] as string),
sender: event["sender"],
content: cleanContent(event["content"] as Record<string, any>),
- room_id: normalizeEventId(roomId),
+ room_id: roomId,
origin_server_ts: event["origin_server_ts"],
}
if (room_name) {