[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#297861: Fwd: #99535



tags 297861 patch
thanks

----- Forwarded message  -----
Subject: #99535
Date: Monday, 21. March 2005 13:15
From: Will Stephenson <lists@stevello.free-online.co.uk>
To: Daniel Molkentin <molkentin@kde.org>

This patch disables Kopete from handling RTF format messages in ICQ,
preventing the bug in the RTF parser from manifesting.  Apply to
kdenetwork/kopete/protocols/oscar/oscarsocket/oscarsocket.cpp

HTH

Will
--
Will Stephenson
IRC: Bille

-------------------------------------------------------

--- oscarsocket.cpp~	2004-07-27 02:38:34.000000000 +0100
+++ oscarsocket.cpp	2005-03-19 19:19:27.000000000 +0000
@@ -1523,11 +1523,11 @@
 
 	if (mIsICQ)
 	{
-		capBuf.addString(oscar_caps[CAP_ICQSERVERRELAY], 16); // we support type-2 messages
+		//capBuf.addString(oscar_caps[CAP_ICQSERVERRELAY], 16); // we support type-2 messages
 		capBuf.addString(oscar_caps[CAP_UTF8], 16); // we can send/receive UTF encoded messages
 		capBuf.addString(oscar_caps[CAP_ISICQ], 16); // I think this is an icq client, but maybe I'm wrong
 		capBuf.addString(oscar_caps[CAP_KOPETE], 16); // we are the borg, resistance is futile
-		capBuf.addString(oscar_caps[CAP_RTFMSGS], 16); // we do incoming RTF messages
+		//capBuf.addString(oscar_caps[CAP_RTFMSGS], 16); // we do incoming RTF messages
 		capBuf.addString(oscar_caps[CAP_TYPING], 16); // we can send/receive typing notifications
 	}
 	else


----- End forwarded message -----

-- 
Violence in reality is quite different from theory.
		-- Spock, "The Cloud Minders", stardate 5818.4

Attachment: signature.asc
Description: Digital signature


Reply to: