From 5e734c48c2c1760339efd648a854cb89fd12f107 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 24 Sep 2015 17:17:38 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@15437 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_events.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'protocols') diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index 4363fe3dec..08ea8f396c 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -135,6 +135,7 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) } break; } + case SKYPE_DB_EVENT_TYPE_MOJI: case SKYPE_DB_EVENT_TYPE_URIOBJ: { HXML xml = xmlParseString(ptrT(mir_utf8decodeT((char*)pEvent->dbei->pBlob)), 0, _T("URIObject")); @@ -162,15 +163,6 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) szText = Translate("Incoming call"); break; } - case SKYPE_DB_EVENT_TYPE_MOJI: - { - HXML xml = xmlParseString(ptrT(mir_utf8decodeT((char*)pEvent->dbei->pBlob)), 0, _T("URIObject")); - if (xml != NULL) - { - szText.Format("Moji: %s (%s)", _T2A(xmlGetAttrValue(xmlGetChildByPath(xml, _T("OriginalName"), 1), _T("v"))), _T2A(xmlGetAttrValue(xmlGetChildByPath(xml, _T("a"), 1), _T("href")))); - } - break; - } case SKYPE_DB_EVENT_TYPE_UNKNOWN: { szText.Format(Translate("Unknown event, please send this text for developer: \"%s\""), mir_utf8decodeA((char*)pEvent->dbei->pBlob)); -- cgit v1.2.3