another.im-ios/ConversationsClassic/AppCore/Actions/XMPPActions.swift

14 lines
517 B
Swift
Raw Normal View History

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
case xmppAttachmentUpload(Message)
// case xmppAttachmentSlotRequestDone(String) //TODO: ???
case xmppAttachmentUploadFailed(msgId: String, reason: String)
case xmppAttachmentUploadSuccess(msgId: String, attachmentRemotePath: String)
2024-06-19 15:15:27 +00:00
}