Browse Source

Fix check for PotentialFriendshipTracker when replying (#7933)

master
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
b0968623fa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/post_status_service.rb

+ 1
- 1
app/services/post_status_service.rb View File

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

Loading…
Cancel
Save