From d70d54072f36255fe1aa34113e263c2dd6602609 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Sun, 8 Oct 2023 18:15:21 -0400
Subject: [PATCH] Finally fixed send-note, argh! I hope...

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

diff --git a/api/activitypub/sendNote.ts b/api/activitypub/sendNote.ts
index c75e28846..5ce73ebd5 100644
--- a/api/activitypub/sendNote.ts
+++ b/api/activitypub/sendNote.ts
@@ -104,8 +104,9 @@ export default async function (req: VercelRequest, res: VercelResponse) {
     }
   }
 
+  sentIds.push(sendingIds);
   configRef.set({
-    "sentIds": sentIds.concat(sendingIds),
+    "sentIds": sentIds,
     "lastEpoch": new Date().getTime()
   });
 
-- 
GitLab