mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
fix: #12673 fullname not defined in some remote actors
This commit is contained in:
@@ -162,7 +162,7 @@ Actors.assert = async (ids, options = {}) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (profile.fullname && fullname !== profile.fullname) {
|
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}`]);
|
memo.searchRemove.push(['ap.name:sorted', `${fullname.toLowerCase()}:${profile.uid}`]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user