Clean up OStatus-related codepaths (#12173)
* Remove “protocol” argument and return value, as only ActivityPub is supported * Remove FetchRemoteAccountService, only use ActivityPub::FetchRemoteAccountService * Fix tests
This commit is contained in:
		@@ -167,7 +167,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
 | 
			
		||||
    return if tag['href'].blank?
 | 
			
		||||
 | 
			
		||||
    account = account_from_uri(tag['href'])
 | 
			
		||||
    account = ::FetchRemoteAccountService.new.call(tag['href']) if account.nil?
 | 
			
		||||
    account = ActivityPub::FetchRemoteAccountService.new.call(tag['href']) if account.nil?
 | 
			
		||||
 | 
			
		||||
    return if account.nil?
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user