mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
fix: note not federated out to mentioned users' inboxes
This commit is contained in:
@@ -250,6 +250,14 @@ Mocks.note = async (post) => {
|
|||||||
name,
|
name,
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
to.push(...Array.from(matches).reduce((ids, { id }) => {
|
||||||
|
if (!utils.isNumber(id)) {
|
||||||
|
ids.push(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
return ids;
|
||||||
|
}, []));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user