Include org.matrix.call events in sent events for OTel
This commit is contained in:
parent
15350b6989
commit
403ee79d61
1 changed files with 5 additions and 1 deletions
|
@ -236,7 +236,11 @@ export class OTelGroupCallMembership {
|
||||||
|
|
||||||
public onSendEvent(call: MatrixCall, event: VoipEvent) {
|
public onSendEvent(call: MatrixCall, event: VoipEvent) {
|
||||||
const eventType = event.eventType as string;
|
const eventType = event.eventType as string;
|
||||||
if (!eventType.startsWith("m.call")) return;
|
if (
|
||||||
|
!eventType.startsWith("m.call") &&
|
||||||
|
!eventType.startsWith("org.matrix.call")
|
||||||
|
)
|
||||||
|
return;
|
||||||
|
|
||||||
const callTrackingInfo = this.callsByCallId.get(call.callId);
|
const callTrackingInfo = this.callsByCallId.get(call.callId);
|
||||||
if (!callTrackingInfo) {
|
if (!callTrackingInfo) {
|
||||||
|
|
Loading…
Reference in a new issue