支持折叠的群聊判定

This commit is contained in:
cc
2026-02-28 00:21:25 +08:00
parent 266d68be22
commit 03aec7a34e
9 changed files with 473 additions and 83 deletions

View File

@@ -290,6 +290,13 @@ export class WcdbService {
return this.callWorker('getContact', { username })
}
/**
* 批量获取联系人 extra_buffer 状态isFolded/isMuted
*/
async getContactStatus(usernames: string[]): Promise<{ success: boolean; map?: Record<string, { isFolded: boolean; isMuted: boolean }>; error?: string }> {
return this.callWorker('getContactStatus', { usernames })
}
/**
* 获取聚合统计数据
*/