MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / buildUserDisplayFromId

Function buildUserDisplayFromId

admin_board/admin_board.ts:263–265  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

261 }
262
263 const parts: string[] = [];
264 const displayName = (cachedUser.name || "").trim();
265 const usernameText = cachedUser.username || "";
266
267 if (displayName && displayName !== userId && displayName !== usernameText) {
268 parts.push(htmlEscape(displayName));

Callers 1

Calls 1

htmlEscapeFunction · 0.70

Tested by

no test coverage detected