From kde-commits Sun Feb 21 21:26:49 2010 From: Michael Zanetti Date: Sun, 21 Feb 2010 21:26:49 +0000 To: kde-commits Subject: KDE/kdenetwork/kopete/plugins/otr Message-Id: <1266787609.014902.17870.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=126678762027116 SVN commit 1093999 by mzanetti: dont use parsedBody before encrypting BUG: 227015 M +3 -3 otrplugin.cpp --- trunk/KDE/kdenetwork/kopete/plugins/otr/otrplugin.cpp #1093998:1093999 @@ -153,9 +153,9 @@ void OTRPlugin::slotOutgoingMessage( Kopete::Message& msg ) { if( msg.direction() == Kopete::Message::Outbound ){ -// kDebug(14318) << "Outgoing message: Plain: " << msg.plainBody() << "body:" << msg.escapedBody(); - QString msgBody = msg.parsedBody(); - QString cacheBody = msg.parsedBody(); +// kDebug(14318) << "Outgoing message: Plain: " << msg.plainBody() << "escapedBody:" << msg.escapedBody() << "parsedBody:" << msg.parsedBody(); + QString msgBody = msg.escapedBody(); + QString cacheBody = msg.escapedBody(); QString accountId = msg.manager()->account()->accountId(); Kopete::Contact *contact = msg.to().first();