From 98b9570b92c7b763681b86dee281dd9f02cdaf3c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 30 Mar 2020 11:23:13 +0300 Subject: according to one of the comments at #1659 --- protocols/SkypeWeb/src/skype_events.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'protocols/SkypeWeb/src') diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index d8b7e8c548..6c4e05edb1 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -103,8 +103,13 @@ INT_PTR CSkypeProto::GetEventText(WPARAM pEvent, LPARAM datatype) if (auto *pRoot = doc.FirstChildElement("URIObject")) { if (auto *xmlA = pRoot->FirstChildElement("a")) szText += xmlA->Attribute("href"); - if (auto *xmlThumb = pRoot->Attribute("url_thumbnail")) + if (auto *xmlThumb = pRoot->Attribute("url_thumbnail")) { szText.AppendFormat("\r\n%s: %s", TranslateU("Preview"), xmlThumb); + + CMStringA szUrl(xmlThumb); + szUrl.Replace("/views/imgt1_anim", "/views/imgpsh_fullsize_anim"); + szText.AppendFormat("\r\n%s: %s", TranslateU("Full image"), szUrl.c_str()); + } } } break; -- cgit v1.2.3