lib/jschat/storage/null.rb in jschat-0.3.2 vs lib/jschat/storage/null.rb in jschat-0.3.3

- old
+ new

@@ -15,10 +15,10 @@ end def self.search(query, room, limit) @messages ||= [] @messages.select do |m| - m['message'] and m['message']['message'].match(query) + m['message'] and m['message']['message'].match(query) and m['room'] == room end.reverse[0..limit].reverse end def self.find_user(options) end