fix: remember direct recipients for connection tests

This commit is contained in:
xmanrui 2026-08-19 11:24:50 +08:00
parent fb61c4235f
commit 3ac70a7c65
34 changed files with 397 additions and 178 deletions

View file

@ -335,7 +335,7 @@ function connectionTestNotice(value) {
return '测试消息已发送,请到飞书会话中确认。';
}
if (value?.testMessage?.code === 'test-target-unavailable') {
return '连接检查完成,但当前没有可用的测试消息接收人。';
return '连接检查完成。机器人尚未收到可用于测试的私聊消息。';
}
return value?.testMessage ? '连接检查完成,但测试消息发送失败。' : null;
}