This commit is contained in:
cc
2026-05-04 09:25:15 +08:00
parent 2d14ba9078
commit 86f966d469
4 changed files with 12 additions and 5 deletions

View File

@@ -1221,8 +1221,9 @@ export class ImageDecryptService {
const decryptKey = this.configService.get('decryptKey')
const wxid = this.configService.get('myWxid')
if (!dbPath || !decryptKey || !wxid) return false
const cleanedWxid = this.cleanAccountDirName(wxid)
return await wcdbService.open(dbPath, decryptKey, cleanedWxid)
const accountDir = this.configService.getAccountDir(dbPath, wxid)
if (!accountDir) return false
return await wcdbService.open(accountDir, decryptKey)
}
private getRowValue(row: any, column: string): any {