1
0
mirror of https://github.com/fiatjaf/nak.git synced 2025-08-11 05:30:47 -04:00

fs: do not paginate videos and highlights (should make this dynamic in the future).

This commit is contained in:
fiatjaf
2025-03-11 12:37:38 -03:00
parent fe1f50f798
commit 602e03a9a1

@@ -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)