summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_contacts.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-26 21:20:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-26 21:20:26 +0300
commit21b040b1f73ccb5c5d89c0085bcffc8fdde1efd1 (patch)
treecf9d988f5a7bfd7acf2525ea2d7277b6e0dac9db /protocols/SkypeWeb/src/skype_contacts.cpp
parent555c7f83e3552a6210bc96e70b2aaecd14732e7a (diff)
SKYPE_1.UseServerTime BYTE = 0 - hidden setting to use server-side timestamp always in histories
Diffstat (limited to 'protocols/SkypeWeb/src/skype_contacts.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_contacts.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp
index 1001e25e7f..c7e225451d 100644
--- a/protocols/SkypeWeb/src/skype_contacts.cpp
+++ b/protocols/SkypeWeb/src/skype_contacts.cpp
@@ -87,9 +87,9 @@ MCONTACT CSkypeProto::AddContact(const char *skypeId, bool isTemporary)
setString(hContact, SKYPE_SETTINGS_ID, skypeId);
setUString(hContact, "Nick", GetSkypeNick(skypeId));
- if (m_opts.wstrCListGroup) {
- Clist_GroupCreate(0, m_opts.wstrCListGroup);
- Clist_SetGroup(hContact, m_opts.wstrCListGroup);
+ if (wstrCListGroup) {
+ Clist_GroupCreate(0, wstrCListGroup);
+ Clist_SetGroup(hContact, wstrCListGroup);
}
setByte(hContact, "Auth", 1);
@@ -177,9 +177,9 @@ void CSkypeProto::LoadContactList(NETLIBHTTPREQUEST *response, AsyncHttpRequest*
ptrW wszGroup(Clist_GetGroup(hContact));
if (wszGroup == nullptr) {
- if (m_opts.wstrCListGroup) {
- Clist_GroupCreate(0, m_opts.wstrCListGroup);
- Clist_SetGroup(hContact, m_opts.wstrCListGroup);
+ if (wstrCListGroup) {
+ Clist_GroupCreate(0, wstrCListGroup);
+ Clist_SetGroup(hContact, wstrCListGroup);
}
}