mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-17 12:24:31 +00:00
Bump interactions count when a follow happens (#8468)
This commit is contained in:
parent
c597249124
commit
8adf485c0f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue