MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / getDisplayName

Function getDisplayName

packages/core/src/merger/algorithms.ts:107–109  ·  view source on GitHub ↗
(msg: MergerMessage)

Source from the content-addressed store, hash-verified

105}
106
107function getDisplayName(msg: MergerMessage): string {
108 return msg.senderGroupNickname || msg.senderAccountName || msg.senderPlatformId
109}
110
111function isImageOnlyMessage(content: string | undefined | null): boolean {
112 if (!content) return false

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected