Commit 540b8df1 authored by Benjamin Neff's avatar Benjamin Neff Committed by Jonne Haß
Browse files

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

prepare for federation refactoring
parent 2294e59e
......@@ -264,7 +264,6 @@ class Person < ActiveRecord::Base
#hcard_profile = HCard.find profile.hcard.first[:href]
::Logging::Logger[self].info "event=webfinger_marshal valid=#{new_person.valid?} " \
"target=#{new_person.diaspora_handle}"
new_person.url = hcard[:url]
new_person.assign_new_profile_from_hcard(hcard)
new_person.save!
new_person.profile.save!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment