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"