Skip to content
Snippets Groups Projects
Unverified Commit 5706fe18 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix #5952 - NameError (regression from #5762) (#5999)

* Fix #5952 - NameError (regression from #5762)

* Fix
parent 71965cbe
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ class FollowService < BaseService
elsif source_account.requested?(target_account)
# This isn't managed by a method in AccountInteractions, so we modify it
# ourselves if necessary.
req = follow_requests.find_by(target_account: other_account)
req = source_account.follow_requests.find_by(target_account: target_account)
req.update!(show_reblogs: reblogs)
return
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment