fix: use logged-in OneTalk account for channel scope

This commit is contained in:
YBF
2026-08-31 17:23:37 +08:00
parent 33c578f83d
commit b40eaa471d
19 changed files with 153 additions and 62 deletions
+3 -1
View File
@@ -506,6 +506,8 @@ DOM 读取必须以标签和精确容器为锚点,不能按客户显示名、
## 6. ID 映射规则
> 重要:URL 的 `activeAccountId` 是当前选中对话账号(例如 `243340382`),不是登录人。`channelAccountId` 必须读取页面运行时的 `currentUserAccountId` 或 `IcbuIM.UserUtil.currentUser.accountId`(本次探查为 `286995452`)。
### 6.1 当前页面观察到的 ID
当前 Heena Liu 会话中同时出现了:
@@ -570,7 +572,7 @@ channelAccountId + aliId
{
type: "contact.profile.observed",
source: "onetalk.page",
channelAccountId: "243340382",
channelAccountId: "286995452",
conversationId: "2208314000798-2500002169502#11011@icbu",
aliId: "2208314000798",
loginId: "hzhago",