summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-30 11:23:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-30 11:23:13 +0300
commit98b9570b92c7b763681b86dee281dd9f02cdaf3c (patch)
tree2f80cbf43b1702a253c511e75a1c289d7c9fe880 /protocols/SkypeWeb/src
parentd14e2b59f51177dc421b50cfb757d27fba7b6cf9 (diff)
according to one of the comments at #1659
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r--protocols/SkypeWeb/src/skype_events.cpp7
1 files changed, 6 insertions, 1 deletions
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;