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:
parent
8dd367805a
commit
ae5dddaa47
1 changed files with 4 additions and 0 deletions
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue