about summary refs log tree commit diff
path: root/app/lib/activitypub/activity
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-21 06:05:30 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-21 06:05:30 -0600
commit6295c9c0f037ae7c2a4c738cc1a492f8e67e1196 (patch)
tree31c79b4d66fd29eb89c6afed6e53dc059b07ab67 /app/lib/activitypub/activity
parent8bd0e6d52677dedad64d4f7c1be064988561d4ae (diff)
remove uneeded arguments
Diffstat (limited to 'app/lib/activitypub/activity')
-rw-r--r--app/lib/activitypub/activity/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb
index b4755fea5..27f7e553f 100644
--- a/app/lib/activitypub/activity/create.rb
+++ b/app/lib/activitypub/activity/create.rb
@@ -274,7 +274,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
   end
 
   def process_emoji(tag)
-    return if @options[:imported] || skip_download?(tag['icon']['url'])
+    return if @options[:imported] || skip_download?
     return if tag['name'].blank? || tag['icon'].blank? || tag['icon']['url'].blank?
 
     shortcode = tag['name'].delete(':')