From 9031125f671bed262bd85fff999d323d33fba8de Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Sun, 8 Oct 2023 21:23:32 -0400
Subject: [PATCH] not gonna bother

---
 api/activitypub/sendNote.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/activitypub/sendNote.ts b/api/activitypub/sendNote.ts
index 0bda6e2c5..cae1f1856 100644
--- a/api/activitypub/sendNote.ts
+++ b/api/activitypub/sendNote.ts
@@ -104,9 +104,9 @@ export default async function (req: VercelRequest, res: VercelResponse) {
     }
   }
 
-  sentIds.push(...sendingIds);
+  sendingIds.add(...sentIds);
   configRef.set({
-    "sentIds": sentIds,
+    "sentIds": Array.from(sendingIds);,
     "lastEpoch": new Date().getTime()
   });
 
-- 
GitLab