]> cat aescling's git repositories - mastodon.git/commitdiff
Bump interactions count when a follow happens (#8468)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 26 Aug 2018 18:02:45 +0000 (20:02 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Aug 2018 18:02:45 +0000 (20:02 +0200)
app/services/follow_service.rb

index 60a389afd34ed9b4099cf1f6f6c6571b7e6633ab..f6888a68d4f7a1e2dd58d0e5916e9ef1c47d8f07 100644 (file)
@@ -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