Fix local follows, 404 in logs
This commit is contained in:
@ -8,7 +8,7 @@ class FollowRemoteAccountService < BaseService
|
||||
def call(uri, subscribe = true)
|
||||
username, domain = uri.split('@')
|
||||
|
||||
return Account.find_local(username) if domain == Rails.configuration.x.local_domain
|
||||
return Account.find_local(username) if domain == Rails.configuration.x.local_domain || domain.nil?
|
||||
|
||||
account = Account.find_remote(username, domain)
|
||||
|
||||
|
Reference in New Issue
Block a user