Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-29 18:09:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-29 18:09:48 +0300
commitf4d51a9f71cf3d4b0874a3e1948fe3c1ea193c4d (patch)
tree7ae3da76e824c435167dd108721c0124ad2ee484 /app/models/note.rb
parent2dedd78ef505a0ab0a379c7340a3fcba56ada663 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/note.rb')
-rw-r--r--app/models/note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index b31b1a20cd8..14e30168df8 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -587,7 +587,7 @@ class Note < ApplicationRecord
end
def post_processed_cache_key
- cache_key_items = [cache_key]
+ cache_key_items = [cache_key, author.cache_key]
cache_key_items << Digest::SHA1.hexdigest(redacted_note_html) if redacted_note_html.present?
cache_key_items.join(':')