horde/horde — pull request #19 by TonyBunce (2012-10-08 19:55:41+00:00)
Title: Virtual Trash Bugs

I have found what appear to be two bugs with using virtual trash in the latest version of IMP.

1. With vtrash enabled messages were being purged immediately via IMAP instead of being marked as deleted
2. Once issue 1 was resolved messages were marked as deleted but they were being shown in their original folder and the Virtual trash was empty.

These changes fix both of these issues.