diff options
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/enums/MessageConfirmation.java')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/enums/MessageConfirmation.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/enums/MessageConfirmation.java b/src/main/java/de/thedevstack/conversationsplus/enums/MessageConfirmation.java new file mode 100644 index 00000000..bd4a9ccb --- /dev/null +++ b/src/main/java/de/thedevstack/conversationsplus/enums/MessageConfirmation.java @@ -0,0 +1,23 @@ +package de.thedevstack.conversationsplus.enums; + +/** + * This enum represents the different combinations + * of confirmations which need to be requested, processed + * or sent. + */ +public enum MessageConfirmation { + NONE, + /** + * Message Delivery Receipts (XEP-0184) + */ + DELIVERY_RECEIPT, + /** + * Chat Markers (XEP-0333) + */ + CHAT_MARKERS, + /** + * Message Delivery Receipts (XEP-0184) and + * Chat Markers (XEP-0333) + */ + DELIVERY_RECEIPT_CHAT_MARKERS; +} |