diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-21 06:05:30 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-21 06:05:30 -0600 |
commit | 6295c9c0f037ae7c2a4c738cc1a492f8e67e1196 (patch) | |
tree | 31c79b4d66fd29eb89c6afed6e53dc059b07ab67 /app/lib/activitypub/activity | |
parent | 8bd0e6d52677dedad64d4f7c1be064988561d4ae (diff) |
remove uneeded arguments
Diffstat (limited to 'app/lib/activitypub/activity')
-rw-r--r-- | app/lib/activitypub/activity/create.rb | 2 |
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(':') |