From kde-commits Mon Apr 18 13:42:31 2005 From: Olivier Goffart Date: Mon, 18 Apr 2005 13:42:31 +0000 To: kde-commits Subject: kdenetwork/kopete/protocols/msn Message-Id: <20050418134231.938B0646 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111383177110828 CVS commit by ogoffart: fix bug 97589 MSN avatars exported by Kopete not shown in Gaim BUG: 97589 M +6 -0 msnp2p.cpp 1.33 --- kdenetwork/kopete/protocols/msn/msnp2p.cpp #1.32:1.33 @@ -180,4 +180,10 @@ void MSNP2P::sendP2PMessage(const QByteA MKDWORD(binHeader,24,size); + if(m_footer=='\1' && size>4) + { //when sending the data of an image, the flag is set to 0x20 + // size>4 is because the data preparation message has not this flag. + binHeader[28]=0x20; + } + //Ack sessionID #if ! MSN_WEBCAM