summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-03 19:05:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-03 19:05:21 +0300
commit55d5829d59d29a477804a2e1bebfce9f95e4f223 (patch)
tree464ea1ebd084a041febc0bcce3d5d60a35780ad5
parentd28a5f0ec74910a1ba7c030fc56b61f85d396b1c (diff)
Facebook:
- fixes #2194 (Can't login with the new Facebook plugin); - fixes #2192 (facebook protocol does not connect after updating); - version bump
-rw-r--r--protocols/Facebook/src/server.cpp2
-rw-r--r--protocols/Facebook/src/version.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index 9b025c2376..81fcdda4f1 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -263,9 +263,9 @@ bool FacebookProto::RefreshToken()
m_szAuthToken = reply.data()["access_token"].as_mstring();
setString(DBKEY_TOKEN, m_szAuthToken);
- m_uid = reply.data()["uid"].as_int();
CMStringA m_szUid = reply.data()["uid"].as_mstring();
setString(DBKEY_ID, m_szUid);
+ m_uid = _atoi64(m_szUid);
return true;
}
diff --git a/protocols/Facebook/src/version.h b/protocols/Facebook/src/version.h
index 4abba67d37..b83281a5fe 100644
--- a/protocols/Facebook/src/version.h
+++ b/protocols/Facebook/src/version.h
@@ -1,6 +1,6 @@
#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 0
-#define __RELEASE_NUM 2
+#define __MINOR_VERSION 1
+#define __RELEASE_NUM 0
#define __BUILD_NUM 1
#include <stdver.h>