From 8adf485c0fc553fafc6af70144c3f3954dac2307 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 26 Aug 2018 20:02:45 +0200 Subject: [PATCH] Bump interactions count when a follow happens (#8468) --- app/services/follow_service.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/services/follow_service.rb b/app/services/follow_service.rb index 60a389afd34..f6888a68d4f 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