From 6295c9c0f037ae7c2a4c738cc1a492f8e67e1196 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 21 Feb 2020 06:05:30 -0600 Subject: remove uneeded arguments --- app/lib/activitypub/activity/create.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib') 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(':') -- cgit