diff libpurple/protocols/jabber/buddy.c @ 26548:cde07a2e4531

Do not advertise support for old XEP-0199 (Ping) namespace
author Paul Aurich <paul@darkrain42.org>
date Sat, 14 Mar 2009 15:50:56 +0000
parents ae41d8e827e3
children 00870e5f2e90
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c	Fri Mar 13 02:26:45 2009 +0000
+++ b/libpurple/protocols/jabber/buddy.c	Sat Mar 14 15:50:56 2009 +0000
@@ -935,7 +935,7 @@
 					feature = _("User Gaming");
 				else if(!strcmp(feature, "http://jabber.org/protocol/viewing"))
 					feature = _("User Viewing");
-				else if(!strcmp(feature, "urn:xmpp:ping") || !strcmp(feature, "http://www.xmpp.org/extensions/xep-0199.html#ns"))
+				else if(!strcmp(feature, "urn:xmpp:ping"))
 					feature = _("Ping");
 				else if(!strcmp(feature, "http://www.xmpp.org/extensions/xep-0200.html#ns"))
 					feature = _("Stanza Encryption");
@@ -1121,7 +1121,7 @@
 						feature = _("User Gaming");
 					else if(!strcmp(feature, "http://jabber.org/protocol/viewing"))
 						feature = _("User Viewing");
-					else if(!strcmp(feature, "urn:xmpp:ping") || !strcmp(feature, "http://www.xmpp.org/extensions/xep-0199.html#ns"))
+					else if(!strcmp(feature, "urn:xmpp:ping"))
 						feature = _("Ping");
 					else if(!strcmp(feature, "http://www.xmpp.org/extensions/xep-0200.html#ns"))
 						feature = _("Stanza Encryption");