]> git.cworth.org Git - sup/commit
bugfix: thread correctly in resumed/killed draft messages
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 8 Jan 2008 18:04:31 +0000 (10:04 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 8 Jan 2008 19:45:12 +0000 (11:45 -0800)
commite8e365f1820a714b3ebb6e08ed0ee3bd3625d2cc
tree10314a1957497eb60a11142a3d64a9c1720a0d98
parentb0028987c0b2bd81729d93b2e2a477970f66084a
bugfix: thread correctly in resumed/killed draft messages

the entire thread was being deleted because of UpdateManager changes.
now there are two signals: deleted and single_message_deleted, the first
for thread deletion and the second for draft message removal, and
ThreadIndexMode handles them correctly.
lib/sup/draft.rb
lib/sup/modes/thread-index-mode.rb
lib/sup/thread.rb