503 on Agents

"Oleg Motienko" <[email protected]> Sun, 13 May 2007 23:56:33 +0400
Newsgroups gmane.network.centericq
Message-ID <[email protected]>
Hello,

I use ejabberd on server with centericq. It looks like a bug:
centericq gives 503 error and disconnects on listing agents (XEP-0094:
Agent Information superseded by XEP-0030: Service Discovery).



Dirty patch - comment out agents request:

--- src/hooks/jabberhook.cc	Fri Aug 26 15:06:23 2005
+++ src/hooks/jabberhook.cc	Sun May 13 20:49:26 2007
@@ -887,11 +887,11 @@
 void jabberhook::gotloggedin() {
     xmlnode x;

-    x = jutil_iqnew(JPACKET__GET, NS_AGENTS);
+/*    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);



-- 
Regards,
Oleg
_______________________________________________
Cicq mailing list
Cicq-xGejAJT2w6wWP6gT/[email protected]
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/