From 94eca87ce641ae397d613090b32b19436e7f92d4 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 10 Sep 2024 10:33:21 -0400 Subject: [PATCH] Expose the event ID of a call membership This is in line with the other information we're already exposing, such as the event's sender and timestamp. We want this in order to play around with adding reactions to the membership event. --- src/matrixrtc/CallMembership.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/matrixrtc/CallMembership.ts b/src/matrixrtc/CallMembership.ts index 495ce1c494..6c7efc029d 100644 --- a/src/matrixrtc/CallMembership.ts +++ b/src/matrixrtc/CallMembership.ts @@ -128,6 +128,10 @@ export class CallMembership { return this.parentEvent.getSender(); } + public get eventId(): string | undefined { + return this.parentEvent.getId(); + } + public get callId(): string { return this.membershipData.call_id; }