MCPcopy
hub / github.com/21st-dev/1code / getChatOwner

Method getChatOwner

src/main/windows/window-manager.ts:209–211  ·  view source on GitHub ↗

* Get the electron window ID that owns a chat, if any.

(chatId: string)

Source from the content-addressed store, hash-verified

207 * Get the electron window ID that owns a chat, if any.
208 */
209 getChatOwner(chatId: string): number | undefined {
210 return this.chatOwnership.get(chatId)
211 }
212}
213
214// Singleton instance

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected