diff --git a/src/app/shared/NoteContent.svelte b/src/app/shared/NoteContent.svelte index 50ff089b..0818cc9b 100644 --- a/src/app/shared/NoteContent.svelte +++ b/src/app/shared/NoteContent.svelte @@ -1,5 +1,6 @@ -{#if note.kind === 1985} +{#if note.kind === 40} + +{:else if note.kind === 1985} {:else if note.kind === 9802} diff --git a/src/app/shared/NoteContentKind40.svelte b/src/app/shared/NoteContentKind40.svelte new file mode 100644 index 00000000..f81444ec --- /dev/null +++ b/src/app/shared/NoteContentKind40.svelte @@ -0,0 +1,29 @@ + + + navigate(`/chat/${noteId}`)}> + + + {#if $room.picture} + + {/if} + {$room.name} + + {#if $room.about} + {$room.about} + {/if} + + diff --git a/src/app/views/Bech32Entity.svelte b/src/app/views/Bech32Entity.svelte index d32c3e2e..13964e5d 100644 --- a/src/app/views/Bech32Entity.svelte +++ b/src/app/views/Bech32Entity.svelte @@ -23,8 +23,6 @@ } catch (e) { warn(e) } - - console.log(type, data) })
{$room.about}