mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-29 23:15:03 +00:00
fix(feishu): use probed botName for mention checks (#36391)
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
export const wsClients = new Map<string, Lark.WSClient>();
|
||||
export const httpServers = new Map<string, http.Server>();
|
||||
export const botOpenIds = new Map<string, string>();
|
||||
export const botNames = new Map<string, string>();
|
||||
|
||||
export const FEISHU_WEBHOOK_MAX_BODY_BYTES = 1024 * 1024;
|
||||
export const FEISHU_WEBHOOK_BODY_TIMEOUT_MS = 30_000;
|
||||
@@ -140,6 +141,7 @@ export function stopFeishuMonitorState(accountId?: string): void {
|
||||
httpServers.delete(accountId);
|
||||
}
|
||||
botOpenIds.delete(accountId);
|
||||
botNames.delete(accountId);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -149,4 +151,5 @@ export function stopFeishuMonitorState(accountId?: string): void {
|
||||
}
|
||||
httpServers.clear();
|
||||
botOpenIds.clear();
|
||||
botNames.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user