forked from cybrespace/mastodon
		
	Fix class autoloading issue in ActivityPub::Activity::Create (#8820)
This commit is contained in:
		
							parent
							
								
									e02c45941d
								
							
						
					
					
						commit
						ef69c655cc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -92,7 +92,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
 | 
			
		|||
    return if tag['href'].blank?
 | 
			
		||||
 | 
			
		||||
    account = account_from_uri(tag['href'])
 | 
			
		||||
    account = FetchRemoteAccountService.new.call(tag['href'], id: false) if account.nil?
 | 
			
		||||
    account = ::FetchRemoteAccountService.new.call(tag['href'], id: false) if account.nil?
 | 
			
		||||
    return if account.nil?
 | 
			
		||||
    account.mentions.create(status: status)
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue