RS IZ object.post
This commit is contained in:
parent
a65f512fa3
commit
958627cc1c
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ class User
|
|||
person.save
|
||||
|
||||
elsif object.is_a?(Comment)
|
||||
raise "Signature was not valid on: #{object.inspect}" unless post.person == self || object.verify_post_creator_signature
|
||||
raise "Signature was not valid on: #{object.inspect}" unless object.post.person == self || object.verify_post_creator_signature
|
||||
dispatch_comment object unless owns?(object)
|
||||
object.socket_to_uid(id) if (object.respond_to?(:socket_to_uid) && !self.owns?(object))
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue