fix: remove faulty code that tried to announce a remote object but couldn't as the ID was not a number

This commit is contained in:
Julian Lam
2025-09-03 14:46:01 -04:00
parent 86d03b1e46
commit 7adfe39ea1

View File

@@ -322,8 +322,6 @@ topicsAPI.move = async (caller, { tid, cid }) => {
if (!topicData.deleted) {
socketHelpers.sendNotificationToTopicOwner(tid, caller.uid, 'move', 'notifications:moved-your-topic');
activitypubApi.announce.note(caller, { tid });
const { activity } = await activitypub.mocks.activities.create(topicData.mainPid, caller.uid);
await activitypub.feps.announce(topicData.mainPid, activity);
}
await events.log({