From 9b9ee28325b4e8e1380a2cbb88b90b8def886e73 Mon Sep 17 00:00:00 2001 From: Julian Jelfs Date: Mon, 22 Apr 2024 17:13:57 +0100 Subject: [PATCH] make sure that the messageId is definitely a bigint (#5717) --- frontend/openchat-client/src/events.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/openchat-client/src/events.ts b/frontend/openchat-client/src/events.ts index dc2fd03ce7..83606d318d 100644 --- a/frontend/openchat-client/src/events.ts +++ b/frontend/openchat-client/src/events.ts @@ -33,7 +33,7 @@ export class RemoteVideoCallStartedEvent extends CustomEvent<{ messageId: bigint; }> { constructor(chatId: ChatIdentifier, userId: string, messageId: bigint) { - super("openchat_event", { detail: { chatId, userId, messageId } }); + super("openchat_event", { detail: { chatId, userId, messageId: BigInt(messageId) } }); } }