* ios: live messages * remove comments * remove conflict * live message buttons and alert * only send full words * fix double sending * typing indicator in live items * add live parameter to API * typing indication, pass live parameter to API * refactor to support live messages with attachments * disable attachments
21 lines
618 B
Swift
21 lines
618 B
Swift
//import UIKit
|
|
|
|
let s = """
|
|
{
|
|
"contactConnection" : {
|
|
"contactConnection" : {
|
|
"viaContactUri" : false,
|
|
"pccConnId" : 456,
|
|
"pccAgentConnId" : "cTdjbmR4ZzVzSmhEZHdzMQ==",
|
|
"pccConnStatus" : "new",
|
|
"updatedAt" : "2022-04-24T11:59:23.703162Z",
|
|
"createdAt" : "2022-04-24T11:59:23.703162Z"
|
|
}
|
|
}
|
|
}
|
|
"""
|
|
//let s = "\"2022-04-24T11:59:23.703162Z\""
|
|
//let json = getJSONDecoder()
|
|
//let d = s.data(using: .utf8)!
|
|
//print (try! json.decode(ChatInfo.self, from: d))
|