Node.js based forum software built for the modern web
feat: allow search bar to load remote 7888 Conversations, aka nodebb topics
Julian Lam7687da00d16e
diff --git a/src/search.js b/src/search.jsindex 5e9b3c8e47..1609bea31f 100644--- a/src/search.js+++ b/src/search.js@@ -173,6 +173,9 @@ async function fetchRemoteObject(data) {} else if (activitypub._constants.acceptableActorTypes.has(type)) {data.searchIn = 'users';return await user.search(data);+ } else if (type === 'Conversation') {+ ({ tid } = await activitypub.notes.assert(uid, id));+ id = await topics.getTopicField(tid, 'mainPid');}}