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.
This commit is contained in:
Avi 2026-08-22 20:38:53 -05:00
commit ae5dddaa47

View file

@ -183,6 +183,10 @@ const RENDERER_METHODS: ReadonlySet<string> = new Set([
'get_state', 'get_state',
'create_profile', 'create_profile',
'select_profile', 'select_profile',
'publish_profile_metadata',
'set_profile_picture',
'delete_profile',
'undo_delete',
'publish_note', 'publish_note',
'feed_get', 'feed_get',
'relay_add', 'relay_add',