fix: #12673 fullname not defined in some remote actors

This commit is contained in:
Julian Lam
2024-07-05 11:18:20 -04:00
parent 26946c7fe6
commit f662a60667

View File

@@ -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}`]);
}