Browse Source

Fix typo in ActivityPub Create handler (#8952)

Regression from #8951
pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
61d44dd11f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/lib/activitypub/activity/create.rb

+ 1
- 1
app/lib/activitypub/activity/create.rb View File

@ -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|

Loading…
Cancel
Save