From c03be1726e4651a2ee10dca6b31043792098ae9d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 26 May 2024 12:43:08 -0500 Subject: [PATCH] Add `encrypted` tag to Pleroma configs event --- src/controllers/api/pleroma.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/api/pleroma.ts b/src/controllers/api/pleroma.ts index 3bbdd70..31b4fc5 100644 --- a/src/controllers/api/pleroma.ts +++ b/src/controllers/api/pleroma.ts @@ -51,7 +51,10 @@ const updateConfigController: AppController = async (c) => { await createAdminEvent({ kind: 30078, content: await new AdminSigner().nip44.encrypt(pubkey, JSON.stringify(configs)), - tags: [['d', 'pub.ditto.pleroma.config']], + tags: [ + ['d', 'pub.ditto.pleroma.config'], + ['encrypted', 'nip44'], + ], }, c); return c.json({ configs: newConfigs, need_reboot: false });