From 3800439a4099508c788ac645969f25c909723ecb Mon Sep 17 00:00:00 2001 From: nayan9617 Date: Sat, 11 Apr 2026 23:43:00 +0530 Subject: [PATCH] Allow member adds without list --- src/app/core/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/commands.ts b/src/app/core/commands.ts index 1400a11c..e9c712c6 100644 --- a/src/app/core/commands.ts +++ b/src/app/core/commands.ts @@ -769,7 +769,7 @@ export const addSpaceMembers = async ( const results = await Promise.all( pubkeys - .filter(pubkey => spaceMembers && !spaceMembers.includes(pubkey)) + .filter(pubkey => !spaceMembers || !spaceMembers.includes(pubkey)) .map(pubkey => manageRelay(url, { method: ManagementMethod.AllowPubkey,