Skip to content

Commit

Permalink
Expose the event ID of a call membership (#4395)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
robintown committed Sep 10, 2024
1 parent 9f8c1ee commit ed44514
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/matrixrtc/CallMembership.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ed44514

Please sign in to comment.