RS, IZ; changed zombiefriends to use webfinger

This commit is contained in:
ilya 2010-08-13 11:43:30 -07:00
parent ef97b4f19d
commit 085dd61607

View file

@ -28,7 +28,7 @@ def warzombie
if current_user.email == "tom@tom.joindiaspora.com" && current_user.friends.first.nil?
bkr_info.each do |backer|
logger.debug "Zombefriending #{backer['given_name']} #{backer['family_name']}"
current_user.send_friend_request_to("http://#{backer['username']}.joindiaspora.com/", current_user.groups.first.id)
current_user.send_friend_request_to("#{backer['username']}@#{backer['username']}.joindiaspora.com", current_user.groups.first.id)
end
end
end