fixes
This commit is contained in:
parent
417f52359d
commit
c8f6bc0dab
10 changed files with 37 additions and 25 deletions
|
@ -534,7 +534,6 @@ export class NoteCreateService {
|
|||
});
|
||||
|
||||
const nm = new NotificationManager(this.mutingsRepository, this.createNotificationService, user, note);
|
||||
const nmRelatedPromises = [];
|
||||
|
||||
await this.createMentionedEvents(mentionedUsers, note, nm);
|
||||
|
||||
|
@ -583,9 +582,7 @@ export class NoteCreateService {
|
|||
}
|
||||
}
|
||||
|
||||
Promise.all(nmRelatedPromises).then(() => {
|
||||
nm.deliver();
|
||||
});
|
||||
nm.deliver();
|
||||
|
||||
//#region AP deliver
|
||||
if (this.userEntityService.isLocalUser(user)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue