From: Eugen Rochko Date: Sun, 26 Aug 2018 18:02:45 +0000 (+0200) Subject: Bump interactions count when a follow happens (#8468) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=8adf485c0fc553fafc6af70144c3f3954dac2307;p=mastodon.git Bump interactions count when a follow happens (#8468) --- 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