about summary refs log tree commit diff
path: root/app/services/reblog_service.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-16 18:35:43 +0200
committerGitHub <noreply@github.com>2018-07-16 18:35:43 +0200
commita23ac107e4f9cc46a95d8e2dca6a5056dbcce39d (patch)
treef750a0bc251acde79ca17cd55ae61d38aa4fb771 /app/services/reblog_service.rb
parent8f64b17d98612f853a83ee766edc2bb41c82fd75 (diff)
Fix activity:interactions counter to count all interactions (#8037)
Diffstat (limited to 'app/services/reblog_service.rb')
-rw-r--r--app/services/reblog_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/reblog_service.rb b/app/services/reblog_service.rb
index 0ee8bac2f..33ddef8b8 100644
--- a/app/services/reblog_service.rb
+++ b/app/services/reblog_service.rb
@@ -44,6 +44,7 @@ class ReblogService < BaseService
   end
 
   def bump_potential_friendship(account, reblog)
+    ActivityTracker.increment('activity:interactions')
     return if account.following?(reblog.reblog.account_id)
     PotentialFriendshipTracker.record(account.id, reblog.reblog.account_id, :reblog)
   end