diff --git a/TODO.md b/TODO.md index a965774..ac43359 100644 --- a/TODO.md +++ b/TODO.md @@ -5,6 +5,7 @@ ## Documentation: In Progress # For 1.0.7 +* ~Fix "unread count" bug~ * Add integration tests * Continue to make loader more durable against corrupted data files * Time to start refactoring! diff --git a/iris.rb b/iris.rb index 1a1d98f..880ebef 100755 --- a/iris.rb +++ b/iris.rb @@ -174,7 +174,7 @@ class Corpus end def self.unread_messages - @@corpus.reject{ |m| @@my_reads.include? m.hash } + displayable.reject{ |m| @@my_reads.include? m.hash } end def self.unread_topics