summaryrefslogtreecommitdiff
path: root/protocols/Facebook
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-12-28 23:40:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-12-28 23:40:57 +0300
commite5c6f828182a745c1a91763053bdba1610b893d8 (patch)
treef24de21ecd76149a2625b815bada33616969896a /protocols/Facebook
parent94a442068bb21f543cc8f3efb864b8d3521160af (diff)
typo fix
Diffstat (limited to 'protocols/Facebook')
-rw-r--r--protocols/Facebook/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index ab5ffb46c8..036652e978 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -143,7 +143,7 @@ int FacebookProto::RefreshContacts()
setWString(hContact, "City", nCity["name"].as_mstring());
if (auto &nAva = it[(m_bUseBigAvatars) ? "hugePictureUrl" : "bigPictureUrl"]) {
- CMStringW wszOldUrl(getMStringW(DBKEY_AVATAR)), wszNewUrl(nAva["uri"].as_mstring());
+ CMStringW wszOldUrl(getMStringW(hContact, DBKEY_AVATAR)), wszNewUrl(nAva["uri"].as_mstring());
if (wszOldUrl != wszNewUrl) {
bNeedUpdate = true;
setByte(hContact, "UpdateNeeded", 1);