]> rtime.felk.cvut.cz Git - notmuch.git/commit
On deletion, replace with ghost when other active messages in thread
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 9 Apr 2016 01:54:51 +0000 (22:54 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 15 Apr 2016 10:07:23 +0000 (07:07 -0300)
commit1695415039803fd3b317bccbb3ceca0472bed373
tree59b7ce198202f805a2e07e67c05cd20932e45208
parent9eebae3da4510a671cbbb2f476c2dc04099b4415
On deletion, replace with ghost when other active messages in thread

There is no need to add a ghost message upon deletion if there are no
other active messages in the thread.

Also, if the message being deleted was a ghost already, we can just go
ahead and delete it.
lib/message.cc