diff --git a/src/search.js b/src/search.js index 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'); } }