* Get the electron window ID that owns a chat, if any.
(chatId: string)
| 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 |