diff options
author | sborrill <sborrill@pkgsrc.org> | 2007-02-20 18:45:00 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2007-02-20 18:45:00 +0000 |
commit | f6cf7dbfa1eea5e7359c6a0cc111e01334c963cc (patch) | |
tree | 6d57da49015a38420067b9a721bf77200a98623f /chat/centericq/patches | |
parent | 23ff31636b8bcb586bbc4fbfb41b4aa64cbe559c (diff) | |
download | pkgsrc-f6cf7dbfa1eea5e7359c6a0cc111e01334c963cc.tar.gz |
Remove a deprecated request from the Jabber plugin so that it works with
ejabberd servers.
http://www.xmpp.org/extensions/xep-0094.html
XEP-0094: Agent Information
Status: Obsolete
Last Updated: 2003-10-08
The problem is that centericq treats some error replies as pertaining
to authentication. Previously ejabberd sent "feature-not-implemented"
for unknown requests, but now it sends "service-unavailable", as
required by the RFC. centericq has a workaround to ignore the former
error, but not the latter. Therefore it believes that authentication
has failed (which is not the case).
Thanks to Jonathan Schleifer and Magnus Henoch for the patch and
clarification.
Diffstat (limited to 'chat/centericq/patches')
-rw-r--r-- | chat/centericq/patches/patch-au | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chat/centericq/patches/patch-au b/chat/centericq/patches/patch-au new file mode 100644 index 00000000000..6bf7745e3d9 --- /dev/null +++ b/chat/centericq/patches/patch-au @@ -0,0 +1,16 @@ +$NetBSD: patch-au,v 1.1 2007/02/20 18:45:00 sborrill Exp $ + +--- src/hooks/jabberhook.cc.orig 2007-02-20 18:20:36.000000000 +0000 ++++ src/hooks/jabberhook.cc 2007-02-20 18:21:08.000000000 +0000 +@@ -887,11 +887,6 @@ + void jabberhook::gotloggedin() { + xmlnode x; + +- x = jutil_iqnew(JPACKET__GET, NS_AGENTS); +- xmlnode_put_attrib(x, "id", "Agent List"); +- jab_send(jc, x); +- xmlnode_free(x); +- + x = jutil_iqnew(JPACKET__GET, NS_ROSTER); + xmlnode_put_attrib(x, "id", "Roster"); + jab_send(jc, x); |