Skip to content

Commit ed44514

Browse files
authored
Expose the event ID of a call membership (#4395)
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.
1 parent 9f8c1ee commit ed44514

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/matrixrtc/CallMembership.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ export class CallMembership {
128128
return this.parentEvent.getSender();
129129
}
130130

131+
public get eventId(): string | undefined {
132+
return this.parentEvent.getId();
133+
}
134+
131135
public get callId(): string {
132136
return this.membershipData.call_id;
133137
}

0 commit comments

Comments
 (0)