[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-01-31 18:57:31
Message-ID: 20050131185731.C51181D032 () office ! kde ! org
[Download RAW message or body]
CVS commit by ogoffart:
Modify our client id.
add a new client id possibility.
msn object fix
M +1 -1 msnaccount.cpp 1.110
M +3 -1 msnnotifysocket.cpp 1.160
--- kdenetwork/kopete/protocols/msn/msnaccount.cpp #1.109:1.110
@@ -1248,5 +1248,5 @@ void MSNAccount::resetPictureObject(bool
QString size=QString::number( pictFile.size() );
QString all= \
"Creator"+accountId()+"Size"+size+"Type3Locationkopete.tmpFriendlyAAA=SHA1D"+ \
sha1d;
- m_pictureObj="<msnobj Creator=\"" + accountId() + "\" \
Size=\"" + size + "\" Type=\"3\" Location=\"TFR2C.tmp\" Friendly=\"AAA=\" \
SHA1D=\""+sha1d+"\" SHA1C=\""+ \
QString(KCodecs::base64Encode(SHA1::hashString(all.utf8()))) +"\"/>"; + \
m_pictureObj="<msnobj Creator=\"" + accountId() + "\" Size=\"" + size + "\" \
Type=\"3\" Location=\"kopete.tmp\" Friendly=\"AAA=\" SHA1D=\""+sha1d+"\" SHA1C=\""+ \
QString(KCodecs::base64Encode(SHA1::hashString(all.utf8()))) +"\"/>"; }
}
--- kdenetwork/kopete/protocols/msn/msnnotifysocket.cpp #1.159:1.160
@@ -332,4 +332,6 @@ void MSNNotifySocket::parseCommand( cons
if( clientID & 512)
c->setProperty( \
MSNProtocol::protocol()->propClient , i18n("Web Messenger") ); + \
else if(clientID & 1) + c->setProperty( \
MSNProtocol::protocol()->propClient , i18n("Windows Mobile") ); else if(clientID & \
64)
c->setProperty( \
MSNProtocol::protocol()->propClient , i18n("MSN Mobile") ); @@ -807,5 +809,5 @@ void \
MSNNotifySocket::setStatus( const K m_newstatus = status;
else
- sendCommand( "CHG", statusToString( status ) + " 268435492 " + \
escape(m_account->pictureObject()) ); + sendCommand( "CHG", \
statusToString( status ) + " 268435500 " + escape(m_account->pictureObject()) ); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic