diff options
author | David Yip <yipdw@member.fsf.org> | 2018-06-03 03:01:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-03 03:01:09 -0500 |
commit | 5dd2a78034c4ab8d7eac6f4553185eadc48b6c26 (patch) | |
tree | 24f23aa2e14a8e64aa39559ba76a6a938ce42d24 /app/lib/activitypub | |
parent | cfdbb36bdf06de01b6701e667cc986fd701efe3c (diff) | |
parent | 8343f56b2c1d23f1c2c2c42515bae1d9a4119ff6 (diff) |
Merge pull request #528 from glitch-soc/merge-upstream
Merge with tootsuite/master
Diffstat (limited to 'app/lib/activitypub')
-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 869749f1e..00479fd9a 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -83,7 +83,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity return if status.tags.include?(hashtag) status.tags << hashtag - TrendingTags.record_use!(hashtag, status.account, status.created_at) + TrendingTags.record_use!(hashtag, status.account, status.created_at) if status.public_visibility? rescue ActiveRecord::RecordInvalid nil end |