From kde-commits Wed Apr 21 21:19:21 2010 From: Michael Zanetti Date: Wed, 21 Apr 2010 21:19:21 +0000 To: kde-commits Subject: KDE/kdenetwork/kopete/plugins/otr Message-Id: <20100421211921.44D79AC8A0 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=127188459808443 SVN commit 1117324 by mzanetti: fix html/plaintext problem when releading a message from cache M +1 -1 otrplugin.cpp --- trunk/KDE/kdenetwork/kopete/plugins/otr/otrplugin.cpp #1117323:1117324 @@ -291,7 +291,7 @@ if( msg.plainBody().isEmpty() ){ event->discard(); if(messageCache.contains("!OTR:MsgDelByOTR")){ - msg.setPlainBody(messageCache["!OTR:MsgDelByOTR"]); + msg.setHtmlBody(messageCache["!OTR:MsgDelByOTR"]); msg.manager()->view()->setCurrentMessage(msg); messageCache.remove("!OTR:MsgDelByOTR"); }