soc.2009.transport: a0f79c59: Fixed bad condition
hanzz at soc.pidgin.im
hanzz at soc.pidgin.im
Wed Jul 29 13:50:32 EDT 2009
-----------------------------------------------------------------
Revision: a0f79c5967e8ebd23e9d61e974199b41d310fc35
Ancestor: 864443152642d0ee2527b451abe43f3405b7bb2a
Author: hanzz at soc.pidgin.im
Date: 2009-07-29T17:48:57
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/a0f79c5967e8ebd23e9d61e974199b41d310fc35
Modified files:
user.cpp
ChangeLog:
Fixed bad condition
-------------- next part --------------
============================================================
--- user.cpp ed766d46c4b49b535711ac18e94334fa1cd4b204
+++ user.cpp dbbf89bf5a33dd7c9c817e04087fa5fa16b6dc28
@@ -1106,7 +1106,7 @@ void User::receivedPresence(const Presen
}
// this presence is for the transport
- if(stanza.to().username() == "" || ((!p->protocol()->tempAccountsAllowed()) || p->protocol()->isMUC(NULL, stanza.to().bare()))){
+ if(stanza.to().username() == "" || ((p->protocol()->tempAccountsAllowed()) || p->protocol()->isMUC(NULL, stanza.to().bare()))){
if(stanza.presence() == Presence::Unavailable) {
// disconnect from legacy network if we are connected
std::map<std::string,Resource> ::iterator iter = m_resources.begin();
More information about the Commits
mailing list