diff --git a/lib/diaspora_federation/discovery/h_card.rb b/lib/diaspora_federation/discovery/h_card.rb index 562979a..e75976d 100644 --- a/lib/diaspora_federation/discovery/h_card.rb +++ b/lib/diaspora_federation/discovery/h_card.rb @@ -56,14 +56,6 @@ module DiasporaFederation # @return [String] display name of the user property :full_name, :string - # @!attribute [r] url - # @deprecated should be changed to the profile url. The pod url is in - # the WebFinger (see {WebFinger#seed_url}, will affect older diaspora* - # installations). - # - # @return [String] link to the pod - property :url, :string, optional: true - # @!attribute [r] public_key # When a user is created on the pod, the pod MUST generate a pgp keypair # for them. This key is used for signing messages. The format is a @@ -145,10 +137,6 @@ module DiasporaFederation add_simple_property(content, :family_name, "family_name", @last_name) ####################################### - add_property(content, :url) do |html| - html.a(@url.to_s, id: "pod_location", class: "url", rel: "me", href: @url.to_s) - end - add_photos(content) builder.doc.to_xhtml(indent: 2, indent_text: " ") diff --git a/spec/lib/diaspora_federation/discovery/h_card_spec.rb b/spec/lib/diaspora_federation/discovery/h_card_spec.rb index 3c548c3..930876b 100644 --- a/spec/lib/diaspora_federation/discovery/h_card_spec.rb +++ b/spec/lib/diaspora_federation/discovery/h_card_spec.rb @@ -12,7 +12,6 @@ module DiasporaFederation guid: person.guid, nickname: person.nickname, full_name: person.full_name, - url: person.url, photo_large_url: photo_large_url, photo_medium_url: photo_medium_url, photo_small_url: photo_small_url, @@ -77,12 +76,6 @@ module DiasporaFederation #{person.last_name} -