openclaw - 💡(How to fix) Fix [Bug]: 飞书 DM 消息无法在 WebChat 中看到 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#84004Fetched 2026-05-20 03:45:21
View on GitHub
Comments
1
Participants
2
Timeline
10
Reactions
1
Author
Timeline (top)
labeled ×4mentioned ×2subscribed ×2closed ×1

dmScope 设置为 "main" 时,飞书渠道的 DM 消息未路由到 WebChat 共享的 main session,两个渠道呈现独立会话。

Root Cause

dmScope 设置为 "main" 时,飞书渠道的 DM 消息未路由到 WebChat 共享的 main session,两个渠道呈现独立会话。

Code Example

NOT_ENOUGH_INFO
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

dmScope 设置为 "main" 时,飞书渠道的 DM 消息未路由到 WebChat 共享的 main session,两个渠道呈现独立会话。

Steps to reproduce

  1. 配置 dmScope 为 "main":openclaw.json → "session": { "dmScope": "main" }
  2. 启用飞书 channel: "channels": { "openclaw-feishu": { "enabled": true, "appId": "cli_a94df7d6a8389cc0", "allowFrom": ["*"], "connectionMode": "websocket" } }
  3. 启动 Gateway (port 18789)
  4. 从飞书 App 向 bot 发送一条 DM,确认 bot 正常回复
  5. 打开 WebChat (http://127.0.0.1:18789)
  6. 观察 WebChat 中是否出现步骤4的飞书消息

Expected behavior

飞书发送的 DM 应在 WebChat 中可见,反之亦然。dmScope: "main" 的文档定义为 "all DMs share the main session"。

Actual behavior

  • 飞书 App 端收发消息正常,bot 有响应
  • WebChat 中看不到任何飞书消息
  • WebChat 仅显示直接在 WebChat 内发送的内容
  • 两个渠道完全隔离,各自持有独立 session

OpenClaw version

2026.5.12

Operating system

Windows 10 (10.0.19045 x64)

Install method

npm

Model

deepseek/deepseek-v4-pro

Provider / routing chain

openclaw → deepseek API (api.deepseek.com)

Additional provider/model setup details

NOT_ENOUGH_INFO

Logs, screenshots, and evidence

NOT_ENOUGH_INFO

Impact and severity

Affected: 使用 dmScope: "main" 期望跨渠道统一会话的单用户 Severity: Medium(功能不符合文档描述,但不阻断单渠道使用) Frequency: 始终复现 Consequence: 无法在 WebChat 中回顾或继续飞书对话,反之亦然

Additional information

历史排查:

  • 2026-05-06:尝试 dmScope 在 per-channel-peer / main / per-peer 间切换,问题未解决
  • 2026-05-06:修复 sessions.json 损坏
  • 2026-05-07:设置 truncateAfterCompaction: false 防止 sessionId 轮换
  • 2026-05-19:飞书双端消息同步确认恢复,但 dmScope 跨渠道合并问题独立存在

上述修复均针对不同根因。

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

飞书发送的 DM 应在 WebChat 中可见,反之亦然。dmScope: "main" 的文档定义为 "all DMs share the main session"。

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: 飞书 DM 消息无法在 WebChat 中看到 [1 comments, 2 participants]