diff mcabber/mcabber/xmpp.c @ 2017:87049d55e34f

Fix /request time /request time was still using Legacy Entity Time (XEP-90). This patch makes mcabber use XEP-202 for queries; mcabber still answers to both current and legacy queries.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 28 Jul 2012 14:40:50 +0200
parents 8dc418af3e72
children 26edaf6ea10b
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp.c	Wed Jul 18 00:24:13 2012 +0200
+++ b/mcabber/mcabber/xmpp.c	Sat Jul 28 14:40:50 2012 +0200
@@ -242,7 +242,7 @@
     xmlns = NS_VERSION;
     strreqtype = "version";
   } else if (reqtype == iqreq_time) {
-    xmlns = NS_TIME;
+    xmlns = NS_XMPP_TIME;
     strreqtype = "time";
   } else if (reqtype == iqreq_last) {
     xmlns = NS_LAST;