diff options
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/requests/contacts.h | 5 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_menus.cpp | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/protocols/SkypeWeb/src/requests/contacts.h b/protocols/SkypeWeb/src/requests/contacts.h index 796df60308..83e51fefc0 100644 --- a/protocols/SkypeWeb/src/requests/contacts.h +++ b/protocols/SkypeWeb/src/requests/contacts.h @@ -81,9 +81,8 @@ public: << CHAR_VALUE("X-Skypetoken", token)
<< CHAR_VALUE("Accept", "application/json")
<< CHAR_VALUE("Content-type", "application/x-www-form-urlencoded");
- CMStringA data;
- data.AppendFormat("greeting=%s", ptrA(mir_urlEncode(greeting)));
- Body << VALUE(data);
+
+ Body << CHAR_VALUE("greeting", ptrA(mir_urlEncode(greeting)));
}
};
diff --git a/protocols/SkypeWeb/src/skype_menus.cpp b/protocols/SkypeWeb/src/skype_menus.cpp index e0adcf681c..ab4a4f34f2 100644 --- a/protocols/SkypeWeb/src/skype_menus.cpp +++ b/protocols/SkypeWeb/src/skype_menus.cpp @@ -88,15 +88,15 @@ void CSkypeProto::InitMenus() mi.pszService = MODULE"/BlockContact";
mi.ptszName = LPGENT("Block contact");
- mi.position = CMI_POSITION + CMI_GETSERVERHISTORY;
+ mi.position = CMI_POSITION + CMI_BLOCK;
mi.icolibItem = LoadSkinnedIcon(SKINICON_OTHER_DELETE);
ContactMenuItems[CMI_BLOCK] = Menu_AddContactMenuItem(&mi);
CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::BlockContact>);
mi.pszService = MODULE"/UnblockContact";
mi.ptszName = LPGENT("Unblock contact");
- mi.position = CMI_POSITION + CMI_GETSERVERHISTORY;
- mi.icolibItem = LoadSkinnedIcon(SKINICON_OTHER_DELETE);
+ mi.position = CMI_POSITION + CMI_UNBLOCK;
+ mi.icolibItem = LoadSkinnedIcon(SKINICON_OTHER_ADDCONTACT);
ContactMenuItems[CMI_UNBLOCK] = Menu_AddContactMenuItem(&mi);
CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::UnblockContact>);
}
|