From 274a4719c73ca472a9fdde006683fefa178ab844 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 20 Apr 2015 06:38:19 +0000 Subject: clear chat messages from html git-svn-id: http://svn.miranda-ng.org/main/trunk@12950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_chatrooms.cpp | 2 +- protocols/SkypeWeb/src/skype_history_sync.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb') 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); } -- cgit v1.2.3