gearheads
/
mastodon
Archived
2
0
Fork 0

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

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

* Fix
gh/stable
Eugen Rochko 2017-12-13 04:12:38 +01:00 committed by GitHub
parent 71965cbef2
commit 5706fe18c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class FollowService < BaseService
elsif source_account.requested?(target_account) elsif source_account.requested?(target_account)
# This isn't managed by a method in AccountInteractions, so we modify it # This isn't managed by a method in AccountInteractions, so we modify it
# ourselves if necessary. # 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) req.update!(show_reblogs: reblogs)
return return
end end