don't get url from hcard, is already set from webfinger

prepare for federation refactoring
This commit is contained in:
Benjamin Neff 2015-06-30 02:59:26 +02:00 committed by Jonne Haß
parent 2294e59ee3
commit 540b8df1b8

View file

@ -264,7 +264,6 @@ class Person < ActiveRecord::Base
#hcard_profile = HCard.find profile.hcard.first[:href] #hcard_profile = HCard.find profile.hcard.first[:href]
::Logging::Logger[self].info "event=webfinger_marshal valid=#{new_person.valid?} " \ ::Logging::Logger[self].info "event=webfinger_marshal valid=#{new_person.valid?} " \
"target=#{new_person.diaspora_handle}" "target=#{new_person.diaspora_handle}"
new_person.url = hcard[:url]
new_person.assign_new_profile_from_hcard(hcard) new_person.assign_new_profile_from_hcard(hcard)
new_person.save! new_person.save!
new_person.profile.save! new_person.profile.save!