diff options
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index b9411a8e81..61e8a3de75 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -41,7 +41,8 @@ http::response facebook_client::sendRequest(HttpRequest *request) return resp; } - if (!parent->m_locale.empty()) + // Check and append user defined locale if request doesn't have it forced already + if (!parent->m_locale.empty() && strstr(request->szUrl, "&locale=") == NULL) request->Url << CHAR_VALUE("locale", parent->m_locale.c_str()); request->Headers |