Unnest nip29 commands

This commit is contained in:
Jon Staab
2025-05-27 17:18:30 -07:00
parent e57b5721f6
commit 72d85e5740
5 changed files with 47 additions and 48 deletions
+6 -1
View File
@@ -17,6 +17,7 @@
MESSAGE,
INBOX_RELAYS,
DIRECT_MESSAGE,
GROUP_META,
MUTES,
FOLLOWS,
PROFILE,
@@ -173,7 +174,11 @@
limit: 10_000,
repository,
rankEvent: (e: TrustedEvent) => {
if ([PROFILE, FOLLOWS, MUTES, RELAYS, BLOSSOM_SERVERS, INBOX_RELAYS].includes(e.kind)) {
if (
[PROFILE, FOLLOWS, MUTES, RELAYS, BLOSSOM_SERVERS, INBOX_RELAYS, GROUP_META].includes(
e.kind,
)
) {
return 1
}