diff options
Diffstat (limited to 'source/QXmppMessage.h')
| -rw-r--r-- | source/QXmppMessage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/QXmppMessage.h b/source/QXmppMessage.h index 15ea3c02..08751821 100644 --- a/source/QXmppMessage.h +++ b/source/QXmppMessage.h @@ -52,6 +52,13 @@ public: Paused, }; + /// Type of the message timestamp. + enum StampType + { + LegacyDelayedDelivery, ///< XEP-0091: Legacy Delayed Delivery + DelayedDelivery, ///< XEP-0203: Delayed Delivery + }; + QXmppMessage(const QString& from = "", const QString& to = "", const QString& body = "", const QString& thread = ""); ~QXmppMessage(); @@ -90,6 +97,7 @@ private: Type m_type; QDateTime m_stamp; + StampType m_stampType; State m_state; QString m_body; |
