fix(message-router): 修复 JoinSession 代理未转发 Status 字段

问题: Message Router 代理 Session Coordinator 的 JoinSession 响应时,
没有转发 session_info.status 字段,导致前端方案B无法工作

修复: 添加 Status 字段的转发

这修复了 co-keygen 中最后一个加入者错过 session_started 事件的问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-30 09:20:15 -08:00
parent 57b84bb9fa
commit 2a49ab771b
1 changed files with 1 additions and 0 deletions

View File

@ -556,6 +556,7 @@ func (s *MessageRouterServer) JoinSession(
ThresholdT: coordResp.SessionInfo.ThresholdT,
MessageHash: coordResp.SessionInfo.MessageHash,
KeygenSessionId: coordResp.SessionInfo.KeygenSessionId,
Status: coordResp.SessionInfo.Status, // 修复: 添加缺失的 Status 字段
}
}