mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Add displayname on call spans
This commit is contained in:
@@ -170,6 +170,9 @@ export class OTelGroupCallMembership {
|
|||||||
// XXX: anonymity
|
// XXX: anonymity
|
||||||
span.setAttribute("matrix.call.target.userId", userId);
|
span.setAttribute("matrix.call.target.userId", userId);
|
||||||
span.setAttribute("matrix.call.target.deviceId", deviceId);
|
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, {
|
this.callsByCallId.set(call.callId, {
|
||||||
userId,
|
userId,
|
||||||
deviceId,
|
deviceId,
|
||||||
|
|||||||
Reference in New Issue
Block a user