refactor: normalize inbound context
This commit is contained in:
@@ -308,6 +308,7 @@ export function createSessionStatusTool(opts?: {
|
||||
|
||||
const isGroup =
|
||||
resolved.entry.chatType === "group" ||
|
||||
resolved.entry.chatType === "channel" ||
|
||||
resolved.entry.chatType === "room" ||
|
||||
resolved.key.startsWith("group:") ||
|
||||
resolved.key.includes(":group:") ||
|
||||
|
||||
Reference in New Issue
Block a user