upd: remove event stream calls on import
This commit is contained in:
parent
a3fd51d6e0
commit
1a78ed400c
|
@ -953,10 +953,6 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
// Pack the note
|
||||
const noteObj = await this.noteEntityService.pack(note, null, { skipHide: true, withReactionAndUserPairCache: true });
|
||||
|
||||
this.globalEventService.publishNotesStream(noteObj);
|
||||
|
||||
this.roleService.addNoteToRoleTimeline(noteObj);
|
||||
|
||||
if (data.channel) {
|
||||
this.channelsRepository.increment({ id: data.channel.id }, 'notesCount', 1);
|
||||
this.channelsRepository.update(data.channel.id, {
|
||||
|
|
Loading…
Reference in New Issue