[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-18 16:32:58
Message-ID: 20050418163258.BF15C3C8 () office ! kde ! org
[Download RAW message or body]

CVS commit by ogoffart: 

Don't send a font name longer than 31 char,  otherwhise, the server will disconnect \
us. BUG:73302


  M +3 -1      msnswitchboardsocket.cpp   1.122


--- kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp  #1.121:1.122
@@ -469,5 +469,7 @@ int MSNSwitchBoardSocket::sendMsg( const
         if(msg.font() != QFont() )
         {
-                head += "FN=" + escape( msg.font().family());
+                //It's verry strange that if the font name is bigger than 31 char, \
the _server_ close the socket and don't deliver the message. +                //  the \
real question is why ?   my guess is that MS patched the server because a bug in \
their client,  but that's just a guess. +                head += "FN=" + escape( \
msg.font().family().left(31));  head += "; EF=";
                 if(msg.font().bold())


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

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