From ae5dddaa4767d822d0b8dec98bb691dd9eb3b3bb Mon Sep 17 00:00:00 2001 From: Avi Date: Sat, 22 Aug 2026 20:38:53 -0500 Subject: [PATCH] Allow new profile methods through the Electron IPC allowlist set_profile_picture and publish_profile_metadata were rejected by the renderer-method gate added in the 2026-08-21 hardening ('rejected renderer method' in the log), so the GUI buttons could never reach the backend. Also allow delete_profile / undo_delete from the deletion feature, which were missing from the list as well. --- frontend/electron/main.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/electron/main.ts b/frontend/electron/main.ts index 6f3de62..199f4cf 100644 --- a/frontend/electron/main.ts +++ b/frontend/electron/main.ts @@ -183,6 +183,10 @@ const RENDERER_METHODS: ReadonlySet = new Set([ 'get_state', 'create_profile', 'select_profile', + 'publish_profile_metadata', + 'set_profile_picture', + 'delete_profile', + 'undo_delete', 'publish_note', 'feed_get', 'relay_add',