about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-06-03 03:01:09 -0500
committerGitHub <noreply@github.com>2018-06-03 03:01:09 -0500
commit5dd2a78034c4ab8d7eac6f4553185eadc48b6c26 (patch)
tree24f23aa2e14a8e64aa39559ba76a6a938ce42d24 /app/services
parentcfdbb36bdf06de01b6701e667cc986fd701efe3c (diff)
parent8343f56b2c1d23f1c2c2c42515bae1d9a4119ff6 (diff)
Merge pull request #528 from glitch-soc/merge-upstream
Merge with tootsuite/master
Diffstat (limited to 'app/services')
-rw-r--r--app/services/process_hashtags_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_hashtags_service.rb b/app/services/process_hashtags_service.rb
index 0695922b8..cf7471c98 100644
--- a/app/services/process_hashtags_service.rb
+++ b/app/services/process_hashtags_service.rb
@@ -7,7 +7,7 @@ class ProcessHashtagsService < BaseService
     tags.map { |str| str.mb_chars.downcase }.uniq(&:to_s).each do |name|
       tag = Tag.where(name: name).first_or_create(name: name)
       status.tags << tag
-      TrendingTags.record_use!(tag, status.account, status.created_at)
+      TrendingTags.record_use!(tag, status.account, status.created_at) if status.public_visibility?
     end
   end
 end