Skip to content

Commit

Permalink
make sure that the messageId is definitely a bigint (#5717)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs authored Apr 22, 2024
1 parent 7a7bacb commit 9b9ee28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/openchat-client/src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) } });
}
}

Expand Down

0 comments on commit 9b9ee28

Please sign in to comment.