about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-10-11 02:10:15 +0200
committerGitHub <noreply@github.com>2018-10-11 02:10:15 +0200
commit61d44dd11ffbe965319680cbfb9e787811c11b94 (patch)
treeefdf6ee37f78e3d111f4f549c200999ba012c854 /app/lib
parent87fdd139b890e60f752bf71e3b09d79eaefcf7b5 (diff)
Fix typo in ActivityPub Create handler (#8952)
Regression from #8951
Diffstat (limited to 'app/lib')
-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 b889461cb..73475bf02 100644
--- a/app/lib/activitypub/activity/create.rb
+++ b/app/lib/activitypub/activity/create.rb
@@ -69,7 +69,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
   def attach_tags(status)
     @tags.each do |tag|
       status.tags << tag
-      TrendingTags.record_use!(hashtag, status.account, status.created_at) if status.public_visibility?
+      TrendingTags.record_use!(tag, status.account, status.created_at) if status.public_visibility?
     end
 
     @mentions.each do |mention|