MS IZ changing it back
This commit is contained in:
parent
9bec1131f6
commit
26bebbe393
1 changed files with 1 additions and 5 deletions
|
|
@ -124,11 +124,7 @@ class User
|
||||||
Rails.logger.debug("Receiving object:\n#{object.inspect}")
|
Rails.logger.debug("Receiving object:\n#{object.inspect}")
|
||||||
|
|
||||||
if object.is_a? Retraction
|
if object.is_a? Retraction
|
||||||
if object.type == 'Person'
|
object.perform self.id
|
||||||
unfriend object.person_id
|
|
||||||
else
|
|
||||||
object.perform self.id
|
|
||||||
end
|
|
||||||
elsif object.is_a? Request
|
elsif object.is_a? Request
|
||||||
person = Diaspora::Parser.get_or_create_person_object_from_xml( xml )
|
person = Diaspora::Parser.get_or_create_person_object_from_xml( xml )
|
||||||
person.serialized_key ||= object.exported_key
|
person.serialized_key ||= object.exported_key
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue