summaryrefslogtreecommitdiff
path: root/app/services/notes/post_process_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/notes/post_process_service.rb')
-rw-r--r--app/services/notes/post_process_service.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/services/notes/post_process_service.rb b/app/services/notes/post_process_service.rb
index e4cd3fc7833..45d916800f6 100644
--- a/app/services/notes/post_process_service.rb
+++ b/app/services/notes/post_process_service.rb
@@ -10,8 +10,10 @@ module Notes
# Skip system notes, like status changes and cross-references and awards
unless @note.system?
EventCreateService.new.leave_note(@note, @note.author)
- @note.create_cross_references!
- execute_note_hooks
+ unless @note.for_personal_snippet?
+ @note.create_cross_references!
+ execute_note_hooks
+ end
end
end