Fix not updating a status when newer version is fetched manually (#17745)
This commit is contained in:
		@@ -71,15 +71,7 @@ class ActivityPub::Activity
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def object_uri
 | 
			
		||||
    @object_uri ||= begin
 | 
			
		||||
      str = value_or_id(@object)
 | 
			
		||||
 | 
			
		||||
      if str&.start_with?('bear:')
 | 
			
		||||
        Addressable::URI.parse(str).query_values['u']
 | 
			
		||||
      else
 | 
			
		||||
        str
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
    @object_uri ||= uri_from_bearcap(value_or_id(@object))
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def unsupported_object_type?
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user