diff --git a/src/activitypub/actors.js b/src/activitypub/actors.js index 327f6da42c..353e093571 100644 --- a/src/activitypub/actors.js +++ b/src/activitypub/actors.js @@ -162,7 +162,7 @@ Actors.assert = async (ids, options = {}) => { } if (profile.fullname && fullname !== profile.fullname) { - if (uidsForCurrent[idx] !== 0) { + if (fullname && uidsForCurrent[idx] !== 0) { memo.searchRemove.push(['ap.name:sorted', `${fullname.toLowerCase()}:${profile.uid}`]); }