about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-26 20:02:45 +0200
committerGitHub <noreply@github.com>2018-08-26 20:02:45 +0200
commit8adf485c0fc553fafc6af70144c3f3954dac2307 (patch)
tree36acf16d23f559e6c5a45a92361aef6fe2f04fd6 /app
parentc5972491241356e76147792899e9b287ae6aa54a (diff)
Bump interactions count when a follow happens (#8468)
Diffstat (limited to 'app')
-rw-r--r--app/services/follow_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/follow_service.rb b/app/services/follow_service.rb
index 60a389afd..f6888a68d 100644
--- a/app/services/follow_service.rb
+++ b/app/services/follow_service.rb
@@ -27,6 +27,8 @@ class FollowService < BaseService
       return
     end
 
+    ActivityTracker.increment('activity:interactions')
+
     if target_account.locked? || target_account.activitypub?
       request_follow(source_account, target_account, reblogs: reblogs)
     else