2024-06-19 15:15:27 +00:00
|
|
|
enum XMPPAction: Codable {
|
|
|
|
case clientConnectionChanged(jid: String, state: ConnectionStatus)
|
2024-06-24 13:28:26 +00:00
|
|
|
case xmppMessageReceived(Message)
|
2024-06-26 10:26:04 +00:00
|
|
|
|
|
|
|
case xmppMessageSent(Message)
|
|
|
|
case xmppMessageSendFailed(msgId: String)
|
|
|
|
case xmppMessageSendSuccess(msgId: String)
|
2024-07-14 18:28:54 +00:00
|
|
|
|
2024-07-14 19:22:46 +00:00
|
|
|
case xmppAttachmentTryUpload(Message)
|
2024-07-14 18:28:54 +00:00
|
|
|
case xmppAttachmentUploadFailed(msgId: String, reason: String)
|
|
|
|
case xmppAttachmentUploadSuccess(msgId: String, attachmentRemotePath: String)
|
2024-06-19 15:15:27 +00:00
|
|
|
}
|