Kaynağa Gözat

Bump interactions count when a follow happens (#8468)

master
Eugen Rochko 5 yıl önce
committed by GitHub
ebeveyn
işleme
8adf485c0f
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. +2
    -0
      app/services/follow_service.rb

+ 2
- 0
app/services/follow_service.rb Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet