lib/sup/modes/inbox-mode.rb in sup-0.0.7 vs lib/sup/modes/inbox-mode.rb in sup-0.0.8
- old
+ new
@@ -19,10 +19,13 @@
hide_thread cursor_thread
regen_text
end
def multi_archive threads
- threads.each { |t| remove_label_and_hide_thread t, :inbox }
+ threads.each do |t|
+ t.remove_label :inbox
+ hide_thread t
+ end
regen_text
end
def handle_archived_update sender, t
if contains_thread? t