aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_key_server_sync/module.json
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2026-10-22 22:47:07 +0200
committersaturneric <[email protected]>2026-10-22 22:47:07 +0200
commit7216765fcaf66c5e3813afc4bd663e3ed090ae57 (patch)
tree8bdb74be693e4a9da86d3b67662642465730c66e /src/m_key_server_sync/module.json
parentfeat(email): re-check open messages when key databases are reloaded (diff)
downloadmodules-7216765fcaf66c5e3813afc4bd663e3ed090ae57.tar.gz
modules-7216765fcaf66c5e3813afc4bd663e3ed090ae57.zip
fix(key_server_sync): stop batches when key databases are reloaded
- listen for KEY_DATABASES_RELOADED and stop batches started before it - say how far a stopped batch got, and that nothing fetched was imported - report a refused import instead of counting the keys as refreshed - tell the user when a single key update cannot be imported
Diffstat (limited to 'src/m_key_server_sync/module.json')
-rw-r--r--src/m_key_server_sync/module.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m_key_server_sync/module.json b/src/m_key_server_sync/module.json
index 0244b29..a497f01 100644
--- a/src/m_key_server_sync/module.json
+++ b/src/m_key_server_sync/module.json
@@ -13,6 +13,7 @@
"ui.custom"
],
"events": [
+ "KEY_DATABASES_RELOADED",
"REQUEST_GET_PUBLIC_KEY_BY_FINGERPRINT",
"REQUEST_GET_PUBLIC_KEY_BY_KEY_ID",
"REQUEST_SEARCH_PUBLIC_KEY_BY_FINGERPRINT",