diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-03-03 15:43:38 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-03-03 15:43:38 +0000 |
commit | e5287627d957b092d11ba8031e4d30dc7f79cbd5 (patch) | |
tree | 97aa1ecb756c4ec15c1999ee92efc2de551332d0 /plugins/Dropbox/src/dropbox.cpp | |
parent | 999fdaa2662a1fe8937ec110232a78e87d79bfe7 (diff) |
Dropbox: fallback to v1 api to support shorten urls
git-svn-id: http://svn.miranda-ng.org/main/trunk@16406 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp index a794e3bb17..fa31010600 100644 --- a/plugins/Dropbox/src/dropbox.cpp +++ b/plugins/Dropbox/src/dropbox.cpp @@ -94,19 +94,6 @@ void CDropbox::RequestAccountInfo(void *p) if (!name.empty()) {
db_set_s(hContact, MODULE, "FirstName", name.at("given_name").as_string().c_str());
db_set_s(hContact, MODULE, "LastName", name.at("surname").as_string().c_str());
- /*JSONNode display_name = root.at("display_name");
- if (!display_name.empty()) {
- CMString tszDisplayName(display_name.as_mstring());
- int pos = tszDisplayName.ReverseFind(' ');
- if (pos != -1) {
- db_set_ts(hContact, MODULE, "LastName", tszDisplayName.Mid(pos + 1));
- db_set_ts(hContact, MODULE, "FirstName", tszDisplayName.Left(pos));
- }
- else {
- db_set_ts(hContact, MODULE, "FirstName", tszDisplayName);
- db_unset(hContact, MODULE, "LastName");
- }
- }*/
}
JSONNode country = root.at("country");
|