connect via link with simplex: protocol (#251)

This commit is contained in:
Evgeny Poberezkin
2022-02-01 20:30:33 +00:00
committed by GitHub
parent 711207743b
commit a68b591029
7 changed files with 93 additions and 3 deletions
+5
View File
@@ -402,10 +402,15 @@ private func encodeCJSON<T: Encodable>(_ value: T) -> [CChar] {
}
enum ChatError: Decodable {
case error(errorType: ChatErrorType)
case errorStore(storeError: StoreError)
// TODO other error cases
}
enum ChatErrorType: Decodable {
case invalidConnReq
}
enum StoreError: Decodable {
case userContactLinkNotFound
// TODO other error cases