From d7bd26fdf343fe08e5ff91620223822d525f47dc Mon Sep 17 00:00:00 2001
From: Maxwell Salzberg <maxwell@joindiaspora.com>
Date: Wed, 5 Oct 2011 21:22:10 -0700
Subject: [PATCH] MS SM only show accpetable types of posts in the featured
 users stream

---
 lib/stream/featured_users_stream.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stream/featured_users_stream.rb b/lib/stream/featured_users_stream.rb
index b58ad08164..d90857276c 100644
--- a/lib/stream/featured_users_stream.rb
+++ b/lib/stream/featured_users_stream.rb
@@ -20,7 +20,7 @@ class FeaturedUsersStream < BaseStream
   end
 
   def posts
-    Post.all_public.where(:author_id => people.map{|x| x.id}).for_a_stream(max_time, order)
+    Post.all_public.where(:author_id => people.map{|x| x.id}, :type => AspectStream::TYPES_OF_POST_IN_STREAM).for_a_stream(max_time, order)
   end
 
   def people
-- 
GitLab