This commit is contained in:
syuilo 2019-11-23 09:43:47 +09:00
parent 7a6b5b0bfc
commit 1f86a6d329

View File

@ -244,7 +244,7 @@ export default async (user: User, data: Option, silent = false) => new Promise<N
const nm = new NotificationManager(user, note); const nm = new NotificationManager(user, note);
const nmRelatedPromises = []; const nmRelatedPromises = [];
createMentionedEvents(mentionedUsers, note, nm); await createMentionedEvents(mentionedUsers, note, nm);
const profile = await UserProfiles.findOne(user.id).then(ensure); const profile = await UserProfiles.findOne(user.id).then(ensure);