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

List:       kde-commits
Subject:    kdenonbeta/kopete/protocols/msn
From:       Olivier Goffart <ogoffart () tiscalinet ! be>
Date:       2003-05-02 20:00:57
[Download RAW message or body]

CVS commit by ogoffart: 

Arg, i didn't escape every MSN Plus! color code last time.
now i hope there are


  M +1 -1      msnsocket.cpp   1.56
  M +1 -1      msnswitchboardsocket.cpp   1.79


--- kdenonbeta/kopete/protocols/msn/msnsocket.cpp  #1.55:1.56
@@ -486,5 +486,5 @@ QString MSNSocket::unescape( const QStri
 {
         //GRRRRR FU*CKING MSN PLUS USERS!  they insert theses stupid colors code in \
                their nickname, and message are not correctly showed
-        return KURL::decode_string( str , 106 ).replace("\3" , "");
+        return KURL::decode_string( str , 106 ).replace("\3" , "").replace("\4" , \
"").replace("\2" , "");  }
 

--- kdenonbeta/kopete/protocols/msn/msnswitchboardsocket.cpp  #1.78:1.79
@@ -280,5 +280,5 @@ void MSNSwitchBoardSocket::slotReadMessa
                 //Stupid MSN PLUS colors code. message with incorrect charactère are \
not showed correctly in the chatwindow.µ  //TODO: parse theses one to show the color \
                too in Kopete
-                message.replace("\3","");
+                message.replace("\3","").replace("\4","").replace("\2","");
 
                 KopeteMessage kmsg( m_account->contacts()[ m_msgHandle ], others,


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

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