aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2014-10-10 23:20:53 -0300
committerdequis <dx@dxzone.com.ar>2014-10-10 23:20:53 -0300
commit7b40f17f9f514127c8a37c35ac3d1c3bd34c13d5 (patch)
tree2297eb213f70e0e5cc7ce50e878f805a47f55ad7 /protocols/jabber/jabber.h
parent0e35ff67f314fb11522430e17d607ac4f5c13c90 (diff)
Add support for XEP-0203: Delayed delivery (message timestamps)
Very similar to XEP-0091 which is already supported, but was marked as obsolete, replaced by XEP-0203. The main differences are the tag name and the timestamp format. Due to the similarities, both XEPs are still supported.
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r--protocols/jabber/jabber.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h
index e6aa3ba3..eb99f9ca 100644
--- a/protocols/jabber/jabber.h
+++ b/protocols/jabber/jabber.h
@@ -228,7 +228,8 @@ struct jabber_transfer
#define XMLNS_PING "urn:xmpp:ping" /* XEP-0199 */
#define XMLNS_RECEIPTS "urn:xmpp:receipts" /* XEP-0184 */
#define XMLNS_VCARD "vcard-temp" /* XEP-0054 */
-#define XMLNS_DELAY "jabber:x:delay" /* XEP-0091 */
+#define XMLNS_DELAY_OLD "jabber:x:delay" /* XEP-0091 */
+#define XMLNS_DELAY "urn:xmpp:delay" /* XEP-0203 */
#define XMLNS_XDATA "jabber:x:data" /* XEP-0004 */
#define XMLNS_CHATSTATES "http://jabber.org/protocol/chatstates" /* XEP-0085 */
#define XMLNS_DISCO_INFO "http://jabber.org/protocol/disco#info" /* XEP-0030 */