summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp
index 2ceda25e0a..907986095e 100644
--- a/plugins/Dropbox/src/dropbox.cpp
+++ b/plugins/Dropbox/src/dropbox.cpp
@@ -90,8 +90,8 @@ void CDropbox::RequestAccountInfo(void *p)
JSONNode name = root.at("name");
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());
+ db_set_ts(hContact, MODULE, "FirstName", ptrT(mir_utf8decodeT(name.at("given_name").as_string().c_str())));
+ db_set_ts(hContact, MODULE, "LastName", ptrT(mir_utf8decodeT(name.at("surname").as_string().c_str())));
}
JSONNode country = root.at("country");