diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-10 15:48:24 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-10 15:48:24 +0000 |
commit | 9435df8573d09b05105f55899ebebcd88a9f4674 (patch) | |
tree | 2877a9ba74ee31c114ddf7b35968c34743bb588d /protocols/SkypeWeb/src/skype_avatars.cpp | |
parent | 60cbde742e568f41bd442eb21df1d5ac2db7c01f (diff) |
SkypeWeb:Small improvements.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12744 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_avatars.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_avatars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_avatars.cpp b/protocols/SkypeWeb/src/skype_avatars.cpp index 53d1743740..d3282bb565 100644 --- a/protocols/SkypeWeb/src/skype_avatars.cpp +++ b/protocols/SkypeWeb/src/skype_avatars.cpp @@ -133,7 +133,7 @@ void CSkypeProto::GetAvatarFileName(MCONTACT hContact, TCHAR* pszDest, size_t cb pszDest[tPathLen++] = '\\';
const TCHAR* szFileType = ProtoGetAvatarExtension(getByte(hContact, "AvatarType", PA_FORMAT_JPEG));
- ptrA username(getStringA(hContact, "Skypename"));
+ ptrA username(getStringA(hContact, SKYPE_SETTINGS_ID));
mir_sntprintf(pszDest + tPathLen, MAX_PATH - tPathLen, _T("%s%s"), _A2T(username), szFileType);
}
@@ -197,7 +197,7 @@ INT_PTR CSkypeProto::SvcSetMyAvatar(WPARAM wParam, LPARAM lParam) ptrA token(getStringA("TokenSecret"));
- ptrA skypename(getStringA("Skypename"));
+ ptrA skypename(getStringA(SKYPE_SETTINGS_ID));
PushRequest(new SetAvatarRequest(token, skypename, data, length), &CSkypeProto::OnSentAvatar);
}
else
|