Parenthases
This commit is contained in:
parent
73d8317534
commit
1ce34bc6fc
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ class User
|
|||
object = Diaspora::Parser.from_xml(xml)
|
||||
Rails.logger.debug("Receiving object:\n#{object.inspect}")
|
||||
Rails.logger.debug("From: #{object.person.inspect}") if object.person
|
||||
object.person.save if object.is_a? Comment && Person.find_by_id(object.person_id).nil?
|
||||
object.person.save if object.is_a?(Comment) && Person.find_by_id(object.person_id).nil?
|
||||
raise "In receive for #{self.real_name}, signature was not valid on: #{object.inspect}" unless object.signature_valid?
|
||||
if object.is_a? Retraction
|
||||
if object.type == 'Person' && object.signature_valid?
|
||||
|
|
|
|||
Loading…
Reference in a new issue