Commit fa42ffa1 authored by Douwe Maan's avatar Douwe Maan

Restore old behavior around diff notes to outdated discussions

parent 1d9bbb0b
...@@ -20,7 +20,7 @@ class LegacyDiffNote < Note ...@@ -20,7 +20,7 @@ class LegacyDiffNote < Note
end end
def discussion_id def discussion_id
@discussion_id ||= self.class.build_discussion_id(noteable_type, noteable_id || commit_id, line_code, active?) @discussion_id ||= self.class.build_discussion_id(noteable_type, noteable_id || commit_id, line_code)
end end
def diff_file_hash def diff_file_hash
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment