diff --git a/lib/stream/multi.rb b/lib/stream/multi.rb index c1ecd599d..febea81a0 100644 --- a/lib/stream/multi.rb +++ b/lib/stream/multi.rb @@ -49,7 +49,7 @@ class Stream::Multi < Stream::Base # @return [Symbol] def is_in?(sym, post) - if self.send("#{sym.to_s}_post_ids").find{|x| x.to_s == post.id.to_s} + if self.send("#{sym.to_s}_post_ids").find{|x| (x == post.id) || (x.to_s == post.id.to_s)} "#{sym.to_s}_stream".to_sym end end