修一下

This commit is contained in:
xuncha
2026-01-28 20:35:20 +08:00
parent 8f2e403837
commit eac6b053ee
2 changed files with 3 additions and 13 deletions

View File

@@ -1961,16 +1961,6 @@ class ExportService {
? await this.getGroupNicknamesForRoom(sessionId)
: new Map<string, string>()
const contactCache = new Map<string, { success: boolean; contact?: any; error?: string }>()
const getContactCached = async (username: string) => {
if (contactCache.has(username)) {
return contactCache.get(username)!
}
const result = await wcdbService.getContact(username)
contactCache.set(username, result)
return result
}
// ========== 阶段3构建消息列表 ==========
onProgress?.({
current: 55,