Add displayname on call spans
This commit is contained in:
parent
e870188be3
commit
3a7983d2de
1 changed files with 3 additions and 0 deletions
|
@ -170,6 +170,9 @@ export class OTelGroupCallMembership {
|
|||
// XXX: anonymity
|
||||
span.setAttribute("matrix.call.target.userId", userId);
|
||||
span.setAttribute("matrix.call.target.deviceId", deviceId);
|
||||
|
||||
const displayName = this.groupCall.room.getMember(userId)?.name;
|
||||
span.setAttribute("matrix.call.target.displayName", displayName);
|
||||
this.callsByCallId.set(call.callId, {
|
||||
userId,
|
||||
deviceId,
|
||||
|
|
Loading…
Reference in a new issue