From 6f832f84419698dd02876e27c042793630d0a4df Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 5 Sep 2011 16:18:22 +0000 Subject: =?UTF-8?q?Commit=20two=20patches=20to=20kdenetwork=20from=20Sl?= =?UTF-8?q?=C3=A1vek=20Banko:=201.)=20fix=20problem=20with=20html=20specia?= =?UTF-8?q?l=20chars=20(especially=20&)=20in=20messages=20from=20nowlisten?= =?UTF-8?q?ing=20plugin=20in=20kopete.=20Kopete::Message::RichText=20expec?= =?UTF-8?q?ts=20already=20escaped=20chars,=20but=20messages=20from=20nowli?= =?UTF-8?q?stening=20is=20plain=20text.=20With=20Kopete::Message::PlainTex?= =?UTF-8?q?t=20is=20message=20valid=202.)=20add=20pongserver,=20that=20add?= =?UTF-8?q?=20xep-0199=20responses=20to=20kopete?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1251584 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/plugins/nowlistening/nowlisteningplugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kopete/plugins/nowlistening/nowlisteningplugin.cpp') diff --git a/kopete/plugins/nowlistening/nowlisteningplugin.cpp b/kopete/plugins/nowlistening/nowlisteningplugin.cpp index 902ea9d2..4c929a4c 100644 --- a/kopete/plugins/nowlistening/nowlisteningplugin.cpp +++ b/kopete/plugins/nowlistening/nowlisteningplugin.cpp @@ -172,14 +172,14 @@ void NowListeningPlugin::slotMediaCommand( const TQString &args, Kopete::ChatSes // prevent us sending an empty message advert = i18n("Message from Kopete user to another user; used when sending media information even though there are no songs playing or no media players running", "Now Listening for Kopete - it would tell you what I am listening to, if I was listening to something on a supported media player."); } - + Kopete::Message msg( theChat->myself(), theChat->members(), advert + " " + args, Kopete::Message::Outbound, - Kopete::Message::RichText + Kopete::Message::PlainText ); - + theChat->sendMessage( msg ); } -- cgit v1.2.3