2017-03-10 01:29:11 +00:00
|
|
|
class LegacyDiffDiscussion < DiffDiscussion
|
|
|
|
def self.unique_position_identifier(note)
|
|
|
|
note.line_code
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.build_original_discussion_id(note)
|
|
|
|
Discussion.build_original_discussion_id(note)
|
|
|
|
end
|
|
|
|
|
|
|
|
def legacy_diff_discussion?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
2017-03-17 19:25:52 +00:00
|
|
|
# Keep this method in sync with the `potentially_resolvable` scope on `ResolvableNote`
|
2017-03-10 01:29:11 +00:00
|
|
|
def potentially_resolvable?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
|
|
|
|
def collapsed?
|
|
|
|
!active?
|
|
|
|
end
|
|
|
|
end
|