about summary refs log tree commit diff
path: root/app/services/favourite_service.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-07-18 09:17:20 +0200
committerGitHub <noreply@github.com>2018-07-18 09:17:20 +0200
commitc44579c42dd03c187be08978c54bdfe37d56cc45 (patch)
tree7a235fc9422d71f56993b4682b06439310f21f65 /app/services/favourite_service.rb
parent1fb78602c56b7bf52dcf383fea7a4c45ce568655 (diff)
parent7dbed4dab93d3eaf79b7e7e4a61f52782909d1ae (diff)
Merge pull request #585 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/services/favourite_service.rb')
-rw-r--r--app/services/favourite_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/favourite_service.rb b/app/services/favourite_service.rb
index 6e1ac3ba9..b565bcc32 100644
--- a/app/services/favourite_service.rb
+++ b/app/services/favourite_service.rb
@@ -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