Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dist/
.env.local
*.local.json
*.bak.*
bun.lock

# Test output
/tmp/
Expand Down
2 changes: 1 addition & 1 deletion hub-server/channels/feishu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ async function handleMessage(event: Record<string, unknown>): Promise<void> {
hub.log(`← ${displayName}: ${content.slice(0, 80)}${content.length > 80 ? "..." : ""}`);

// 群消息用 chat_id (oc_) 作为 fromId,这样 reply 会发到群里而不是私聊
const replyTo = chatId.startsWith("oc_") ? chatId : senderId;
const replyTo = isGroupMessage ? chatId : senderId;
hub.pushMessage({
channel: "feishu",
from: displayName,
Expand Down