mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 03:03:24 +08:00
fix: remember direct recipients for connection tests
This commit is contained in:
parent
fb61c4235f
commit
3ac70a7c65
34 changed files with 397 additions and 178 deletions
|
|
@ -124,7 +124,7 @@ export function normalizeSnapshot(value) {
|
|||
export function connectionTestFeedback(result) {
|
||||
if (result?.sent === true) return '测试消息已发送,请到对应机器人会话中确认。';
|
||||
if (result?.code === 'test-target-unavailable') {
|
||||
return '连接检查完成。请先私聊机器人发送 /status,再重新检查。';
|
||||
return '连接检查完成。机器人尚未收到可用于测试的私聊消息。';
|
||||
}
|
||||
return result ? '连接检查完成,但测试消息发送失败。' : null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue