In the last days i tried to understand the MSN protocol and, after
compiling the CVS version of kopete, i started to do someting...

First change in msnswithboardsocket.cpp:

QString sha1d = QString(KCodecs::base64Encode(SHA1::hash(ar)));
                        QString size = QString::number( pictFile.size() );
                        QString all = "Creator" + m_account->accountId() +      
"Size" + size +
"Type2Location" + fi.fileName() + "FriendlyAAA=SHA1D" + sha1d;
                        QString sha1c =
QString(KCodecs::base64Encode(SHA1::hashString(all.utf8())));
                        picObj = "<msnobj Creator=\"" + m_account->accountId() 
+ "\" Size=\""
+ size  + "\" Type=\"2\" Location=\""+ fi.fileName() + "\" Friendly=
\"AAA=\" SHA1D=\""+sha1d+ "\" SHA1C=\""+sha1c+"\"/>";

-Tyoe2Location- and -Type=\"2"- instead "3" as mentioned in -bug
report-.

After this i noticed this debug message:

EUF-GUID: {A4268EEC-FEC5-49E5-95C3-F126696BDBF6}
SessionID: 275406675
SChannelState: 0
Capabilities-Flags: 1
AppID: 11

so i changed this in dispatcher.cpp on line 385:

if(applicationId == 1  || applicationId == 12  || applicationId == 11)

i simply added the "|| applicationId == 11".


At the moment i tried with 2 diffrent msn clients and seems to work...

Hope this help.

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to