diff --git a/src/app/commands.ts b/src/app/commands.ts index f521bf6b..8897baf8 100644 --- a/src/app/commands.ts +++ b/src/app/commands.ts @@ -115,7 +115,7 @@ export const broadcastUserData = async (relays: string[]) => { for (const event of events) { if (isSignedEvent(event)) { - await publishThunk({event, relays}) + await publishThunk({event, relays}).result } } } diff --git a/src/app/components/SpaceInviteAccept.svelte b/src/app/components/SpaceInviteAccept.svelte index 1a5a63a1..48039166 100644 --- a/src/app/components/SpaceInviteAccept.svelte +++ b/src/app/components/SpaceInviteAccept.svelte @@ -18,7 +18,7 @@ const back = () => history.back() const confirm = async (url: string) => { - await addSpaceMembership(url) + await addSpaceMembership(url).result goto(makeSpacePath(url), {replaceState: true}) diff --git a/src/app/components/SpaceJoin.svelte b/src/app/components/SpaceJoin.svelte index ec2bd8a8..d455bd47 100644 --- a/src/app/components/SpaceJoin.svelte +++ b/src/app/components/SpaceJoin.svelte @@ -13,7 +13,7 @@ const back = () => history.back() const tryJoin = async () => { - await addSpaceMembership(url) + await addSpaceMembership(url).result clearModals() } diff --git a/src/app/components/ThunkStatus.svelte b/src/app/components/ThunkStatus.svelte index 772fbf0f..bb66bcdb 100644 --- a/src/app/components/ThunkStatus.svelte +++ b/src/app/components/ThunkStatus.svelte @@ -1,17 +1,26 @@ + +
+ Failed to publish to {displayRelayUrl(url)}: {message}. +
+ +