IOS-1224 cleanup.
authorbuff <andreas@pep-project.org>
Thu, 02 Aug 2018 09:43:08 +0200
changeset 5667b82931788188
parent 5666 a32e25ec501d
child 5668 fa597c249663
IOS-1224 cleanup.
pEpForiOS/Models/CdMessage+Pantomime.swift
pEpForiOS/UI/EmailDisplayList/EmailListViewModel+MessageFolderDelegate.swift
     1.1 --- a/pEpForiOS/Models/CdMessage+Pantomime.swift	Wed Aug 01 21:29:19 2018 +0200
     1.2 +++ b/pEpForiOS/Models/CdMessage+Pantomime.swift	Thu Aug 02 09:43:08 2018 +0200
     1.3 @@ -470,11 +470,7 @@
     1.4          }
     1.5          if !flags.deleted {
     1.6              MessageModelConfig.messageFolderDelegate?.didUpdate(messageFolder: msg)
     1.7 -        }
     1.8 -            // IOS-1224: cuurrent solution. Awaiting answer on #dev.
     1.9 -            // For me /Delete flag modified is also a message update.
    1.10 -            // The current UI implementation has another opinion though.
    1.11 -        else {
    1.12 +        } else {
    1.13              MessageModelConfig.messageFolderDelegate?.didDelete(messageFolder: msg)
    1.14          }
    1.15      }
     2.1 --- a/pEpForiOS/UI/EmailDisplayList/EmailListViewModel+MessageFolderDelegate.swift	Wed Aug 01 21:29:19 2018 +0200
     2.2 +++ b/pEpForiOS/UI/EmailDisplayList/EmailListViewModel+MessageFolderDelegate.swift	Thu Aug 02 09:43:08 2018 +0200
     2.3 @@ -192,7 +192,7 @@
     2.4          }
     2.5  
     2.6          let previewMessage = PreviewMessage(withMessage: message)
     2.7 -        if !previewMessage.flagsDiffer(previewMessage: existingMessage) { //IOS-1224: handle: message is flagged deleted
     2.8 +        if !previewMessage.flagsDiffer(previewMessage: existingMessage) {
     2.9              // The only message properties displayed in this view that might be updated
    2.10              // are flagged and seen.
    2.11              // We got called even the flaggs did not change. Ignore.