summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_history_sync.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-11-09 21:49:32 +0000
committerRobert Pösel <robyer@seznam.cz>2015-11-09 21:49:32 +0000
commit8ea94a560b5c37003f4fffa7ff4be86eab792fee (patch)
tree4a422da560381f1f673d2a19e7ef1707442fcc66 /protocols/SkypeWeb/src/skype_history_sync.cpp
parentb0767875612ca56f4b5236064772b14d33bf41aa (diff)
SkypeWeb: Strip html from messages only when type is "RichText" (fixes #1085)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15705 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_history_sync.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_history_sync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp
index 5028030d92..bab3b21fc9 100644
--- a/protocols/SkypeWeb/src/skype_history_sync.cpp
+++ b/protocols/SkypeWeb/src/skype_history_sync.cpp
@@ -72,7 +72,7 @@ void CSkypeProto::OnGetServerHistory(const NETLIBHTTPREQUEST *response)
{
if (messageType == "Text" || messageType == "RichText")
{
- ptrA szMessage(RemoveHtml(content.c_str()));
+ ptrA szMessage(messageType == "RichText" ? RemoveHtml(content.c_str()) : mir_strdup(content.c_str()));
MEVENT dbevent = GetMessageFromDb(hContact, szMessageId);
if (isEdited && dbevent != NULL)