regen_text
end
- def handle_archived_update sender, t
- if contains_thread? t
- hide_thread t
- regen_text
- end
+ def handle_unarchived_update sender, m
+ add_or_unhide m
end
-# not quite working, and not sure if i like it anyways
-# def handle_unarchived_update sender, t
-# Redwood::log "unarchived #{t.subj}"
-# show_thread t
-# end
+ def handle_archived_update sender, m
+ t = thread_containing(m) or return
+ hide_thread t
+ regen_text
+ end
def status
super + " #{Index.size} messages in index"