Ver código fonte

Bump interactions count when a follow happens (#8468)

master
Eugen Rochko 5 anos atrás
committed by GitHub
pai
commit
8adf485c0f
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      app/services/follow_service.rb

+ 2
- 0
app/services/follow_service.rb Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar