IOS-1521 cosmetic IOS-1521+IOS-1495
authorbuff <andreas@pep-project.org>
Tue, 14 May 2019 16:45:34 +0200
branchIOS-1521+IOS-1495
changeset 861114e23a7f54fa
parent 8610 50299b427bd3
child 8612 961366028e40
IOS-1521 cosmetic
pEpForiOS/Models/Folder+Threading.swift
     1.1 --- a/pEpForiOS/Models/Folder+Threading.swift	Tue May 14 15:59:48 2019 +0200
     1.2 +++ b/pEpForiOS/Models/Folder+Threading.swift	Tue May 14 16:45:34 2019 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  
     1.5  import MessageModel
     1.6  
     1.7 +//!!!: move to MM. Or better re-move.
     1.8  extension Folder {
     1.9  
    1.10      /**
    1.11 @@ -15,9 +16,8 @@
    1.12       that is no threading involved.
    1.13       */
    1.14      public func allMessagesNonThreaded() -> [Message] {
    1.15 -        return allCdMessages(ignoringPepRating: showsMessagesNeverSeenByEngine)
    1.16 -            .compactMap {
    1.17 -                return $0.message()
    1.18 -        }
    1.19 +        return
    1.20 +            allCdMessages(ignoringPepRating: showsMessagesNeverSeenByEngine)
    1.21 +                .compactMap { $0.message() }
    1.22      }
    1.23  }