Merge branch 'master' into glitch-soc/merge-upstream

This commit is contained in:
Thibaut Girka
2018-07-17 22:05:25 +02:00
20 changed files with 360 additions and 36 deletions

View File

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