(chatId: string)
| 233 | |
| 234 | // 设置会话模式 |
| 235 | private async setChatMode(chatId: string, enabled: boolean): Promise<void> { |
| 236 | this.db.data.chats[chatId] = enabled; |
| 237 | this.updateStats(); |
| 238 | await this.db.write(); |
| 239 | } |
| 240 | |
| 241 | // 检查是否为白名单 |
no outgoing calls
no test coverage detected