summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-20 06:38:19 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-20 06:38:19 +0000
commit274a4719c73ca472a9fdde006683fefa178ab844 (patch)
treea09bdb44582ebbe25d09a1e6a578bab7cfbd603d
parentaefa6a3d6339f24ec07985e7eea71e99fa56feee (diff)
clear chat messages from html
git-svn-id: http://svn.miranda-ng.org/main/trunk@12950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/SkypeWeb/src/skype_chatrooms.cpp2
-rw-r--r--protocols/SkypeWeb/src/skype_history_sync.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp
index 7c2946a49a..f491512fc6 100644
--- a/protocols/SkypeWeb/src/skype_chatrooms.cpp
+++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp
@@ -266,7 +266,7 @@ void CSkypeProto::OnChatEvent(JSONNODE *node)
gce.ptszUID = mir_a2t(ContactUrlToName(from));
gce.time = timestamp;
gce.ptszNick = mir_a2t(ContactUrlToName(from));
- gce.ptszText = mir_a2t(content);
+ gce.ptszText = mir_a2t(RemoveHtml(content));
gce.dwFlags = GCEF_ADDTOLOG;
CallServiceSync(MS_GC_EVENT, 0, (LPARAM)&gce);
}
diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp
index d274a9a03b..597ac3dc36 100644
--- a/protocols/SkypeWeb/src/skype_history_sync.cpp
+++ b/protocols/SkypeWeb/src/skype_history_sync.cpp
@@ -100,7 +100,7 @@ void CSkypeProto::OnGetServerHistory(const NETLIBHTTPREQUEST *response)
gce.ptszUID = mir_a2t(ContactUrlToName(from));
gce.time = timestamp;
gce.ptszNick = mir_a2t(ContactUrlToName(from));
- gce.ptszText = mir_a2t(content);
+ gce.ptszText = mir_a2t(RemoveHtml(content));
gce.dwFlags = GCEF_NOTNOTIFY;
CallServiceSync(MS_GC_EVENT, 0, (LPARAM)&gce);
}