[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/msn
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2005-04-27 11:23:06
Message-ID: 20050427112306.B35F3630 () office ! kde ! org
[Download RAW message or body]

CVS commit by ogoffart: 

Don't send typing notification if we are not fully connected to the chat session


  M +8 -0      msnswitchboardsocket.cpp   1.123


--- kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp  #1.122:1.123
@@ -414,4 +414,12 @@ void MSNSwitchBoardSocket::sendTypingMsg
                 return;
 
+        if ( onlineStatus() != Connected || m_chatMembers.empty())
+        {
+                //we are not yet in a chat.
+                //if we send that command now, we may get disconnected.
+                return;
+        }
+
+
         QCString message = QString( "MIME-Version: 1.0\r\n"
                 "Content-Type: text/x-msmsgscontrol\r\n"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic