Here is the diff file...
Il giorno mer, 22/08/2007 alle 11.50 +0200, Martijn Klingens ha scritto:
> On Tuesday 21 August 2007 20:25, Flavio wrote:
> > I just tested it with msn 8.5 BETA (Build 8.5.1235.0517).
> >
> > All works fine.
>
> Can you send the diff to this mailing list for review and inclusion?
>
> Type:
>
> svn diff > msn.diff
>
>
> And you get a file msn.diff that you can attach to the mail.
>
> Thanks!
>
Index: kopete/protocols/msn/dispatcher.cpp
===================================================================
--- kopete/protocols/msn/dispatcher.cpp (revisione 702629)
+++ kopete/protocols/msn/dispatcher.cpp (copia locale)
@@ -382,7 +382,7 @@
regex.search(body);
Q_UINT32 applicationId = regex.cap(1).toUInt();
- if(applicationId == 1 || applicationId == 12)
+ if(applicationId == 1 || applicationId == 11 || applicationId == 12 )
{ //the AppID is 12 since Messenger 7.5
// A contact has requested a session to download
// a display icon (User Display Icon or CustomEmotion).
Index: kopete/protocols/msn/msnswitchboardsocket.cpp
===================================================================
--- kopete/protocols/msn/msnswitchboardsocket.cpp (revisione 702629)
+++ kopete/protocols/msn/msnswitchboardsocket.cpp (copia locale)
@@ -631,9 +631,9 @@
QString sha1d = QString(KCodecs::base64Encode(SHA1::hash(ar)));
QString size = QString::number( pictFile.size() );
- QString all = "Creator" + m_account->accountId() + "Size" + size + "Type3Location" + fi.fileName() + "FriendlyAAA=SHA1D" + sha1d;
+ 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=\"3\" Location=\""+ fi.fileName() + "\" Friendly=\"AAA=\" SHA1D=\""+sha1d+ "\" SHA1C=\""+sha1c+"\"/>";
+ picObj = "<msnobj Creator=\"" + m_account->accountId() + "\" Size=\"" + size + "\" Type=\"2\" Location=\""+ fi.fileName() + "\" Friendly=\"AAA=\" SHA1D=\""+sha1d+ "\" SHA1C=\""+sha1c+"\"/>";
PeerDispatcher()->objectList.insert(picObj, filename);
}
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel