修复了全局wxid错误清洗的问题

This commit is contained in:
cc committed 2026-05-10 15:17:02 +08:00
1 parent 2d5832d6a9
commit 39e527a21a
15 files changed
+84 -37

No files matched your search

+1 -1
View File
@@ -447,7 +447,7 @@ export class BackupService {
}
private async ensureConnected(wxidOverride?: string): Promise<{ success: boolean; wxid?: string; dbPath?: string; dbStorage?: string; error?: string }> {
const configuredWxid = String(this.configService.get('myWxid') || '').trim()
const configuredWxid = String(this.configService.getMyWxidCleaned() || '').trim()
const wxid = String(wxidOverride || configuredWxid || '').trim()
const dbPath = String(this.configService.get('dbPath') || '').trim()
const decryptKey = String(this.configService.get('decryptKey') || '').trim()