Fix `CommentSmile` notification type not being returned
This commit is contained in:
parent
6089c57a20
commit
b534dc0bb8
|
@ -16,7 +16,8 @@ class Appendable::Reaction < Appendable
|
||||||
# rubocop:enable Rails/SkipsModelValidations
|
# rubocop:enable Rails/SkipsModelValidations
|
||||||
|
|
||||||
def notification_type(*_args)
|
def notification_type(*_args)
|
||||||
Notification::CommentSmiled if parent.instance_of?(Comment)
|
return Notification::CommentSmiled if parent.instance_of?(Comment)
|
||||||
|
|
||||||
Notification::Smiled
|
Notification::Smiled
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue