From 32aae7efde9a2a9d46b47865fca5a998c09c0c5c Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 27 Aug 2015 17:17:56 +0000 Subject: SkypeWeb: attempt fix images links git-svn-id: http://svn.miranda-ng.org/main/trunk@15047 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_events.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index d623186130..15b9979c2a 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -141,6 +141,12 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) if (xml != NULL) { szText.Append(_T2A(xmlGetText(xml))); + HXML xmlA = xmlGetChildByPath(xml, _T("a"), 0); + if (xmlA != NULL) + { + szText += _T2A(xmlGetAttrValue(xmlA, _T("href"))); + xmlDestroyNode(xmlA); + } xmlDestroyNode(xml); } else @@ -150,6 +156,7 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) break; } + case SKYPE_DB_EVENT_TYPE_INCOMING_CALL: { szText = Translate("Incoming call"); -- cgit v1.2.3