Mercurial > hg
diff mcabber/mcabber/xmpp.c @ 1705:ac881b5f9248
Add /request ping (XEP-0199), by merging isbear's module
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 08 Feb 2010 21:23:05 +0100 |
parents | 44e023ad99ed |
children | 3a1afbfb28dd |
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp.c Mon Feb 08 19:36:56 2010 +0100 +++ b/mcabber/mcabber/xmpp.c Mon Feb 08 21:23:05 2010 +0100 @@ -245,10 +245,12 @@ } else if (reqtype == iqreq_last) { xmlns = NS_LAST; strreqtype = "last"; + } else if (reqtype == iqreq_ping) { + xmlns = NS_PING; + strreqtype = "last"; } else if (reqtype == iqreq_vcard) { xmlns = NS_VCARD; strreqtype = "vCard"; - // Special case } else return;