Fix typo in ActivityPub Create handler (#8952)

Regression from #8951
th-downstream
Eugen Rochko 6 years ago committed by GitHub
parent 8efdf1a898
commit b9e620946c

@ -69,7 +69,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
def attach_tags(status) def attach_tags(status)
@tags.each do |tag| @tags.each do |tag|
status.tags << 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 end
@mentions.each do |mention| @mentions.each do |mention|

Loading…
Cancel
Save