Bump interactions count when a follow happens (#8468)

This commit is contained in:
Eugen Rochko 2018-08-26 20:02:45 +02:00 committed by GitHub
parent 97c292e0d1
commit f9836d593c

View 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