soc.2009.transport: e160ee19: Fixed bug when disco#info was sent twice...

hanzz at soc.pidgin.im hanzz at soc.pidgin.im
Sat Jun 20 02:15:49 EDT 2009


-----------------------------------------------------------------
Revision: e160ee19f8fd0c6140d0d311405f2107077183ce
Ancestor: 3c8c2a379448c64518edb1092c022a8cc79f4b0c
Author: hanzz at soc.pidgin.im
Date: 2009-06-20T06:13:46
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/e160ee19f8fd0c6140d0d311405f2107077183ce

Modified files:
        adhochandler.cpp discoinfohandler.cpp

ChangeLog: 

Fixed bug when disco#info was sent twice and added debug for some mobile clients

-------------- next part --------------
============================================================
--- adhochandler.cpp	4587e178fbdef0f00291853b8a9522a0d3287bbe
+++ adhochandler.cpp	eb81b81fd715a3a7b0067456eed3964a785599e0
@@ -222,7 +222,10 @@ void GlooxAdhocHandler::handleIqID( cons
 void GlooxAdhocHandler::handleIqID( const IQ &iq, int context ) {
 }
 
-void GlooxAdhocHandler::handleDiscoInfo(const JID &jid, const Disco::Info &info, int context) {}
+void GlooxAdhocHandler::handleDiscoInfo(const JID &jid, const Disco::Info &info, int context) {
+	Log().Get("handle disco info adhoc") << jid.full();
+}
+
 void GlooxAdhocHandler::handleDiscoItems(const JID &jid, const Disco::Items &items, int context) {}
 void GlooxAdhocHandler::handleDiscoError(const JID &jid, const Error *error, int context) {}
 
============================================================
--- discoinfohandler.cpp	38511f5dddcdc14f9911febf17150b29d0fb4cc5
+++ discoinfohandler.cpp	a52350a6452a7a95dd9312d4d1ee92076d57d7d7
@@ -89,7 +89,7 @@ bool GlooxDiscoInfoHandler::handleIq (co
 			return true;
 		}
 	}
-	return p->j->disco()->handleIq(stanza);
+	return true;
 }
 
 void GlooxDiscoInfoHandler::handleIqID (const IQ &stanza, int context){


More information about the Commits mailing list