1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

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.
This commit is contained in:
Robin
2024-09-10 16:15:07 -04:00
committed by GitHub
parent 9f8c1ee953
commit ed44514974

View File

@@ -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;
}