Skip to content

Node.js based forum software built for the modern web

Merge branch 'master' into develop

Barış Soner Uşaklı2a5bd6ef36d7
diff --cc src/activitypub/notes.js
index 14420724f0,b0e10d6641..3771a72d36
--- a/src/activitypub/notes.js
+++ b/src/activitypub/notes.js
@@@ -265,9 -265,9 +265,9 @@@ Notes.assert = async (uid, input, optio
await Notes.syncUserInboxes(tid, uid);
- if (!hasTid && options.cid) {
+ if (!hasTid && uid && options.cid) {
- // New topic via search/post-redirect, have category announce it
- activitypub.out.announce.topic(tid);
+ // New topic, have category announce it
+ await activitypub.out.announce.topic(tid);
}
return { tid, count };