pEpForiOS/UI/EmailDisplay/EmailListViewController.swift
branchIOS-230
changeset 870 dd67c28b7449
parent 867 89ccccb16970
child 935 16f7ad421c63
     1.1 --- a/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Tue Oct 25 11:33:55 2016 +0200
     1.2 +++ b/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Tue Oct 25 12:35:39 2016 +0200
     1.3 @@ -131,6 +131,11 @@
     1.4          guard let account = config.account else {
     1.5              return
     1.6          }
     1.7 +        
     1.8 +        if let folder = account.folder(ofType: FolderType.drafts) {
     1.9 +            folder.save(message: message)
    1.10 +            return
    1.11 +        }
    1.12      }
    1.13  
    1.14      func updateModel() {