diff --git a/lib/sup/modes/inbox_mode.rb b/lib/sup/modes/inbox_mode.rb index 7638ea883..ae49b6168 100644 --- a/lib/sup/modes/inbox_mode.rb +++ b/lib/sup/modes/inbox_mode.rb @@ -78,7 +78,9 @@ def handle_idle_update sender, idle_since end def status - super + " #{Index.size} messages in index" + starred = Index.num_results_for(:labels => [:starred]) + unread = Index.num_results_for(:labels => [:unread]) + super + " #{Index.size} messages in index (#{starred} starred, #{unread} unread)" end end diff --git a/lib/sup/version.rb b/lib/sup/version.rb index cdff2dd00..898ed5e93 100644 --- a/lib/sup/version.rb +++ b/lib/sup/version.rb @@ -1,3 +1,3 @@ module Redwood - VERSION = "git" + VERSION = "0.21.0" end