14 lines
303 B
Ruby
14 lines
303 B
Ruby
class IndividualNoteDiscussion < Discussion
|
|
def self.build_discussion_id(note)
|
|
[*super(note), SecureRandom.hex]
|
|
end
|
|
|
|
# Keep this method in sync with the `potentially_resolvable` scope on `ResolvableNote`
|
|
def potentially_resolvable?
|
|
false
|
|
end
|
|
|
|
def individual_note?
|
|
true
|
|
end
|
|
end
|