[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 13:42:31
Message-ID: 20050418134231.938B0646 () office ! kde ! org
[Download RAW message or body]

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


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

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