Save comment's person in receive
This commit is contained in:
parent
c3fe3bf443
commit
c7974f8046
1 changed files with 1 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ class User
|
||||||
person.save
|
person.save
|
||||||
|
|
||||||
elsif object.is_a?(Comment)
|
elsif object.is_a?(Comment)
|
||||||
|
object.person.save
|
||||||
raise "In receive for #{self.real_name}, signature was not valid on: #{object.inspect}" unless object.post.person == self.person || object.verify_post_creator_signature
|
raise "In receive for #{self.real_name}, signature was not valid on: #{object.inspect}" unless object.post.person == self.person || object.verify_post_creator_signature
|
||||||
object.save
|
object.save
|
||||||
dispatch_comment object unless owns?(object)
|
dispatch_comment object unless owns?(object)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue