summaryrefslogtreecommitdiffstats
path: root/kopete/plugins
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-05 16:18:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-05 16:18:22 +0000
commit6f832f84419698dd02876e27c042793630d0a4df (patch)
tree9db099db17810899151867dbdd440d583fcd9fa1 /kopete/plugins
parent39f99c18f862e73cb6f6a42099a017725102943e (diff)
downloadtdenetwork-6f832f84419698dd02876e27c042793630d0a4df.tar.gz
tdenetwork-6f832f84419698dd02876e27c042793630d0a4df.zip
Commit two patches to kdenetwork from Slávek Banko:
1.) fix problem with html special chars (especially &) in messages from nowlistening plugin in kopete. Kopete::Message::RichText expects already escaped chars, but messages from nowlistening is plain text. With Kopete::Message::PlainText is message valid 2.) add pongserver, that add xep-0199 responses to kopete git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1251584 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins')
-rw-r--r--kopete/plugins/nowlistening/nowlisteningplugin.cpp6
1 files changed, 3 insertions, 3 deletions
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 );
}