mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-05 14:43:09 +02:00
upd: remove event stream calls on import
This commit is contained in:
parent
a3fd51d6e0
commit
1a78ed400c
1 changed files with 0 additions and 4 deletions
|
@ -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 a new issue