Merge git://github.com/tootsuite/mastodon into tootsuite-master
This commit is contained in:
		@@ -20,9 +20,7 @@ class Api::V1::FavouritesController < Api::BaseController
 | 
			
		||||
 | 
			
		||||
  def cached_favourites
 | 
			
		||||
    cache_collection(
 | 
			
		||||
      Status.where(
 | 
			
		||||
        id: results.map(&:status_id)
 | 
			
		||||
      ),
 | 
			
		||||
      Status.reorder(nil).joins(:favourites).merge(results),
 | 
			
		||||
      Status
 | 
			
		||||
    )
 | 
			
		||||
  end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user