soc.2009.transport: 92e44b76: Fixed calling serv_get_info without user...
hanzz at soc.pidgin.im
hanzz at soc.pidgin.im
Mon Jun 8 06:10:42 EDT 2009
-----------------------------------------------------------------
Revision: 92e44b7650ae7647ced8030526e3879263c66890
Ancestor: a73f1b413f8bc5d4811102a6ad0822b688a8884c
Author: hanzz at soc.pidgin.im
Date: 2009-06-08T09:59:45
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/92e44b7650ae7647ced8030526e3879263c66890
Modified files:
vcardhandler.cpp
ChangeLog:
Fixed calling serv_get_info without username.
-------------- next part --------------
============================================================
--- vcardhandler.cpp 2f8abaade2d7eba3cc615b7e23953bec3f18441f
+++ vcardhandler.cpp 6d40be6b1f704a00ee09f936ee7ebdbb00784a58
@@ -94,7 +94,7 @@ bool GlooxVCardHandler::handleIq (const
bool GlooxVCardHandler::handleIq (const IQ &stanza){
- if (stanza.from().username()=="")
+ if (stanza.to().username()=="")
return false;
User *user = p->userManager()->getUserByJID(stanza.from().bare());
More information about the Commits
mailing list