aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgCoreInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r--src/core/GpgCoreInit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp
index 0659377a..7199bd2d 100644
--- a/src/core/GpgCoreInit.cpp
+++ b/src/core/GpgCoreInit.cpp
@@ -616,7 +616,7 @@ auto InitGpgFrontendCore(CoreInitArgs args) -> int {
continue;
}
- if (!GpgKeyGetter::GetInstance(ctx.GetChannel()).FetchKey()) {
+ if (!GpgKeyGetter::GetInstance(ctx.GetChannel()).FlushKeyCache()) {
FLOG_E() << "gpgme context init key cache failed, index:"
<< channel_index;
continue;