From 3cbd548198aedd16a1d3acbcf2d676bfdba5283a Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 15 Sep 2024 16:19:24 -0600 Subject: [PATCH] fix --- strfry-policy.ts | 1 + tagPolicy.ts | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/strfry-policy.ts b/strfry-policy.ts index 11abef0..9cb579a 100755 --- a/strfry-policy.ts +++ b/strfry-policy.ts @@ -28,6 +28,7 @@ for await (const msg of readStdin()) { 'c231760b10cefbfc3d7bae5e2d5b40e2ee1714ff90cb78fcff40ba82122dd2be', '00c4cc916e1a9944c491b25baaf133f1819beaade4a7eee6eff4a6bf71e3ed17', '3dc04334f758bea5a82f896f7670579407b49b1a9f3294d3edeec6d1e9c25673', +'43330873e0b5e86293fba7809b39019890f1cdcf849d9783863b409d91b6fe82', '6c86b60b38bfa4db973a000769515bdcba5f6ab81ffe1056e98a7c8771a1fc43', '2ecf1b64caf12aef69e46290b35e4742fba4dc2a479a8210c355ad4e9780044c', 'f440ac8aeadb21b1c7084c169643ff52a5fdadb1524cd8153cb7e8719ab55bcc', diff --git a/tagPolicy.ts b/tagPolicy.ts index d8165ba..df0eaa7 100755 --- a/tagPolicy.ts +++ b/tagPolicy.ts @@ -64,7 +64,6 @@ if (msg.event.kind === 0) { const client = msg.event.tags.filter((tag) => tag[0] === 'client'); const proxy = msg.event.tags.filter((tag) => tag[0] === 'proxy'); const blockheight = msg.event.tags.filter((tag) => tag[0] === 'blockheight'); -/** if (blockheight.length > limit) { if (blockheight.length > limit) { return { @@ -87,7 +86,6 @@ if (t.length > limit) { } } -**/ if (proxy.length > limit) { for (let search of mastodon) { if (proxy.length > limit) {