mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-27 07:52:34 +00:00
ios: add CIStatus type (#280)
This commit is contained in:
1 parent
d11d66fa90
commit
82d02e923a
1 file changed
+9
@@ -409,6 +409,15 @@ struct CIMeta: Decodable {
|
||||
var createdAt: Date
|
||||
}
|
||||
|
||||
enum CIStatus: Decodable {
|
||||
case sndNew
|
||||
case sndSent
|
||||
case sndErrorAuth
|
||||
case sndError(agentErrorType: AgentErrorType)
|
||||
case rcvNew
|
||||
case rcvRead
|
||||
}
|
||||
|
||||
func ciMetaSample(_ id: Int64, _ ts: Date, _ text: String) -> CIMeta {
|
||||
CIMeta(
|
||||
itemId: id,
|
||||
|
||||
Reference in new issue
Block a user