mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Stopped configuration messages from automatically creating threads for sync'ed contacts (now they will only be created if there are messages) Updated the ConfigurationMessage to stop truncating the list of contacts but filter the full set (also update the logic to include previously approved contacts)
14 lines
309 B
Swift
14 lines
309 B
Swift
|
|
public extension Array where Element : CustomStringConvertible {
|
|
|
|
var prettifiedDescription: String {
|
|
return "[ " + map { $0.description }.joined(separator: ", ") + " ]"
|
|
}
|
|
}
|
|
|
|
public extension Array where Element: Hashable {
|
|
func asSet() -> Set<Element> {
|
|
return Set(self)
|
|
}
|
|
}
|