]> git.cworth.org Git - notmuch-old/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>
Mon, 11 Apr 2016 00:08:26 +0000 (21:08 -0300)
commitefdce79acbb9397e3a2c98940778a4aa24b974c7
tree28530bcaefac75ad2031bf18e207d357e59d7982
parentdd481bfdae4d3677f4bcd44a26e258887f3cb559
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