0
0
Fork 0

Fix activity:interactions counter to count all interactions (#8037)

This commit is contained in:
Eugen Rochko 2018-07-16 18:35:43 +02:00 committed by GitHub
parent 8f64b17d98
commit a23ac107e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -37,6 +37,7 @@ class FavouriteService < BaseService
end
def bump_potential_friendship(account, status)
ActivityTracker.increment('activity:interactions')
return if account.following?(status.account_id)
PotentialFriendshipTracker.record(account.id, status.account_id, :favourite)
end