comparison 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
comparison
equal deleted inserted replaced
2016:e9b6e168a45e 2017:87049d55e34f
240 240
241 if (reqtype == iqreq_version) { 241 if (reqtype == iqreq_version) {
242 xmlns = NS_VERSION; 242 xmlns = NS_VERSION;
243 strreqtype = "version"; 243 strreqtype = "version";
244 } else if (reqtype == iqreq_time) { 244 } else if (reqtype == iqreq_time) {
245 xmlns = NS_TIME; 245 xmlns = NS_XMPP_TIME;
246 strreqtype = "time"; 246 strreqtype = "time";
247 } else if (reqtype == iqreq_last) { 247 } else if (reqtype == iqreq_last) {
248 xmlns = NS_LAST; 248 xmlns = NS_LAST;
249 strreqtype = "last"; 249 strreqtype = "last";
250 } else if (reqtype == iqreq_ping) { 250 } else if (reqtype == iqreq_ping) {