fix: note not federated out to mentioned users' inboxes

This commit is contained in:
Julian Lam
2024-03-08 14:06:23 -05:00
parent f31d8c2e9b
commit 6423d514ff

View File

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