Skip to content

Commit c0e9c13

Browse files
authored
fix: avoid call log request when no access (#1031)
1 parent ef0d850 commit c0e9c13

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/modules/CallLog/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,11 @@ export class CallLog extends CallLogBase {
171171
super.onReset();
172172
this.resetOldCalls();
173173
}
174+
175+
override async _sync(syncType) {
176+
if (!this._deps.appFeatures.hasReadExtensionCallLog) {
177+
return;
178+
}
179+
return super._sync(syncType);
180+
}
174181
}

0 commit comments

Comments
 (0)