Save comment's person in receive

This commit is contained in:
Raphael 2010-08-26 11:53:32 -07:00
parent c3fe3bf443
commit c7974f8046

View file

@ -195,6 +195,7 @@ class User
person.save
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
object.save
dispatch_comment object unless owns?(object)