forkattu lähteestä cybrespace/mastodon
Fix check for PotentialFriendshipTracker when replying (#7933)
This commit is contained in:
vanhempi
23e1f143de
commit
b0968623fa
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
|
|
@ -83,7 +83,7 @@ class PostStatusService < BaseService
|
|||
end
|
||||
|
||||
def bump_potential_friendship(account, status)
|
||||
return if !status.reply? || account.following?(status.account_id)
|
||||
return if !status.reply? || account.following?(status.in_reply_to_account_id)
|
||||
PotentialFriendshipTracker.record(account.id, status.in_reply_to_account_id, :reply)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Ladataan…
Lisää taulukko
Viittaa uudessa ongelmassa