[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kopete/protocols/yahoo
From: Gustavo P. Boiko <gustavo.boiko () kdemail ! net>
Date: 2005-01-11 18:11:03
Message-ID: 20050111181103.350461BA91 () office ! kde ! org
[Download RAW message or body]
CVS commit by boiko:
Prevent from connecting twice.
BUG: 96335
M +2 -1 yahooaccount.cpp 1.115
--- kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp #1.114:1.115
@@ -306,4 +306,5 @@ void YahooAccount::connectWithPassword(
}
+
QString server = "scs.msg.yahoo.com";
int port = 5050;
@@ -312,5 +313,5 @@ void YahooAccount::connectWithPassword(
m_session = YahooSessionManager::manager()->createSession( accountId(), \
passwd );
- if(!isConnected())
+ if(!isConnected() && myself()->onlineStatus() != m_protocol->Connecting)
{
kdDebug(14180) << "Attempting to connect to Yahoo on <" << server << \
":" << port << ">. user <" << accountId() << ">" << endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic