From 602e03a9a1ff33dbe792c6b56103b9554cd869b7 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Tue, 11 Mar 2025 12:37:38 -0300 Subject: [PATCH] fs: do not paginate videos and highlights (should make this dynamic in the future). --- nostrfs/npubdir.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nostrfs/npubdir.go b/nostrfs/npubdir.go index 8c9f286..38ecfb8 100644 --- a/nostrfs/npubdir.go +++ b/nostrfs/npubdir.go @@ -183,7 +183,7 @@ func CreateNpubDir( Kinds: []int{21, 22}, Authors: []string{pointer.PublicKey}, }, - paginate: true, + paginate: false, relays: relays, create: func(ctx context.Context, n *ViewDir, event *nostr.Event) (string, *fs.Inode) { return event.ID, CreateEventDir(ctx, n, n.wd, event) @@ -206,7 +206,7 @@ func CreateNpubDir( Kinds: []int{9802}, Authors: []string{pointer.PublicKey}, }, - paginate: true, + paginate: false, relays: relays, create: func(ctx context.Context, n *ViewDir, event *nostr.Event) (string, *fs.Inode) { return event.ID, CreateEventDir(ctx, n, n.wd, event)