From 3431589b24abccc942799582623c4e49d84be25d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 23 Feb 2026 21:02:28 -0500 Subject: [PATCH] parseInt cid --- src/activitypub/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/notes.js b/src/activitypub/notes.js index 3a042aa2e9..67dd64e1e1 100644 --- a/src/activitypub/notes.js +++ b/src/activitypub/notes.js @@ -759,7 +759,7 @@ Notes.prune = async () => { async function pruneCidTids(cid, cuttoff) { - if (utils.isNumber(cid) && cid !== -1) { + if (utils.isNumber(cid) && parseInt(cid, 10) !== -1) { // safety incase a local cid is in handle:cid return; }