IOS-1210 renames method.
authorbuff <andreas@pep-project.org>
Thu, 02 Aug 2018 10:06:17 +0200
changeset 5668fa597c249663
parent 5667 b82931788188
child 5669 ddc331c2255c
IOS-1210 renames method.
pEpForiOS/Background/EncryptAndSendOperation.swift
     1.1 --- a/pEpForiOS/Background/EncryptAndSendOperation.swift	Thu Aug 02 09:43:08 2018 +0200
     1.2 +++ b/pEpForiOS/Background/EncryptAndSendOperation.swift	Thu Aug 02 10:06:17 2018 +0200
     1.3 @@ -103,7 +103,7 @@
     1.4              return
     1.5          }
     1.6  
     1.7 -        msg.cleansePEPHeaders()
     1.8 +        msg.removeOriginalRatingHeader()
     1.9  
    1.10          let pantMail = PEPUtil.pantomime(pEpMessageDict: msg)
    1.11          smtpSend.smtp.setRecipients(nil)
    1.12 @@ -254,7 +254,7 @@
    1.13  }
    1.14  
    1.15  extension Dictionary where Key == String {
    1.16 -    public mutating func cleansePEPHeaders() {
    1.17 +    public mutating func removeOriginalRatingHeader() {
    1.18          let headersToIgnore = Set(["X-EncStatus".lowercased()])
    1.19          let newHeaders = NSMutableArray()
    1.20          if let theHeaders = self[kPepOptFields] as? [NSArray] {