Skip to content

Node.js based forum software built for the modern web

fix: #13892, logical flaw

Julian Lam98c0a3fedcfb
diff --git a/src/activitypub/out.js b/src/activitypub/out.js
index 4e11c243ef..701464ba8c 100644
--- a/src/activitypub/out.js
+++ b/src/activitypub/out.js
@@ -310,7 +310,7 @@ Out.announce.topic = enabledCheck(async (tid, uid) => {
if (uid) {
const exists = await user.exists(uid);
- if (!exists || !utils.isNumber(cid)) {
+ if (!exists) {
return;
}
} else {