mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-09 00:58:50 +00:00
fs: do not paginate videos and highlights (should make this dynamic in the future).
This commit is contained in:
@@ -183,7 +183,7 @@ func CreateNpubDir(
|
|||||||
Kinds: []int{21, 22},
|
Kinds: []int{21, 22},
|
||||||
Authors: []string{pointer.PublicKey},
|
Authors: []string{pointer.PublicKey},
|
||||||
},
|
},
|
||||||
paginate: true,
|
paginate: false,
|
||||||
relays: relays,
|
relays: relays,
|
||||||
create: func(ctx context.Context, n *ViewDir, event *nostr.Event) (string, *fs.Inode) {
|
create: func(ctx context.Context, n *ViewDir, event *nostr.Event) (string, *fs.Inode) {
|
||||||
return event.ID, CreateEventDir(ctx, n, n.wd, event)
|
return event.ID, CreateEventDir(ctx, n, n.wd, event)
|
||||||
@@ -206,7 +206,7 @@ func CreateNpubDir(
|
|||||||
Kinds: []int{9802},
|
Kinds: []int{9802},
|
||||||
Authors: []string{pointer.PublicKey},
|
Authors: []string{pointer.PublicKey},
|
||||||
},
|
},
|
||||||
paginate: true,
|
paginate: false,
|
||||||
relays: relays,
|
relays: relays,
|
||||||
create: func(ctx context.Context, n *ViewDir, event *nostr.Event) (string, *fs.Inode) {
|
create: func(ctx context.Context, n *ViewDir, event *nostr.Event) (string, *fs.Inode) {
|
||||||
return event.ID, CreateEventDir(ctx, n, n.wd, event)
|
return event.ID, CreateEventDir(ctx, n, n.wd, event)
|
||||||
|
|||||||
Reference in New Issue
Block a user