about summary refs log tree commit diff
path: root/app/models/remote_profile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/remote_profile.rb')
-rw-r--r--app/models/remote_profile.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/remote_profile.rb b/app/models/remote_profile.rb
index 613911c57..742d2b56f 100644
--- a/app/models/remote_profile.rb
+++ b/app/models/remote_profile.rb
@@ -41,6 +41,10 @@ class RemoteProfile
     @header ||= link_href_from_xml(author, 'header')
   end
 
+  def emojis
+    @emojis ||= author.xpath('./xmlns:link[@rel="emoji"]', xmlns: OStatus::TagManager::XMLNS)
+  end
+
   def locked?
     scope == 'private'
   end