diff --git a/src/lib/components/EventDetails.svelte b/src/lib/components/EventDetails.svelte
index dcdd0eb..6e6712a 100644
--- a/src/lib/components/EventDetails.svelte
+++ b/src/lib/components/EventDetails.svelte
@@ -401,6 +401,11 @@
{/if}
+
+ {#if event.kind === 0}
+
+ {/if}
+
{#if toNpub(event.pubkey)}
-
-
-
{/if}
diff --git a/src/lib/components/Notifications.svelte b/src/lib/components/Notifications.svelte
index 1604532..37cf746 100644
--- a/src/lib/components/Notifications.svelte
+++ b/src/lib/components/Notifications.svelte
@@ -92,9 +92,7 @@
function getNeventUrl(event: NDKEvent): string {
const relays = getAvailableRelays();
- const nevent = neventEncode(event, relays);
- console.log('Generated nevent for event:', event.id, '→', nevent);
- return nevent;
+ return neventEncode(event, relays);
}
function formatDate(timestamp: number): string {
@@ -605,7 +603,7 @@
{/if}
- {#each filteredMessages.slice(0, 20) as message}
+ {#each filteredMessages.slice(0, 100) as message}
{@const authorProfile = authorProfiles.get(message.pubkey)}
{@const isFromUser = message.pubkey === $userStore.pubkey}
@@ -772,7 +770,7 @@
{:else}
- {#each notifications.slice(0, 10) as notification}
+ {#each notifications.slice(0, 100) as notification}
{@const authorProfile = authorProfiles.get(notification.pubkey)}
@@ -837,9 +835,9 @@
{/each}
- {#if notifications.length > 10}
+ {#if notifications.length > 100}
- Showing 10 of {notifications.length} notifications {notificationMode === "to-me" ? "received" : "sent"}. Scroll to see more.
+ Showing 100 of {notifications.length} notifications {notificationMode === "to-me" ? "received" : "sent"}. Scroll to see more.
{/if}