Respond to CR.

pull/1/head
Matthew Chen 7 years ago
parent 758913f959
commit ebc5356a9f

@ -138,10 +138,10 @@ public class ConversationSearcher: NSObject {
// Order the conversation and message results in reverse chronological order.
// The contact results are pre-sorted by display name.
conversations = conversations.sorted(by: >)
messages = messages.sorted(by: >)
conversations.sort(by: >)
messages.sort(by: >)
// Order "other" contact results by display name.
otherContacts = otherContacts.sorted()
otherContacts.sort()
return SearchResultSet(searchText: searchText, conversations: conversations, contacts: otherContacts, messages: messages)
}

Loading…
Cancel
Save