pEpForiOS/UI/EmailDisplay/EmailListViewController.swift
changeset 1650 33eba5b4f5f5
parent 1623 de640fc8295f
child 1664 7fa84db06f26
     1.1 --- a/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Tue Feb 07 17:40:35 2017 +0100
     1.2 +++ b/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Wed Feb 08 08:31:46 2017 +0100
     1.3 @@ -190,7 +190,7 @@
     1.4                  return
     1.5              }
     1.6  
     1.7 -            message.imapFlags?.deleted = true
     1.8 +            message.delete() // mark for deletion/trash
     1.9              message.save()
    1.10              self.tableView.reloadData()
    1.11          }