From 0d8ae90913bd0b53c6af709928e7f5e5a3fc9b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 17 May 2013 18:00:05 +0000 Subject: Facebook: Added few options items - use local time, send seen when marking read, select server to open urls. git-svn-id: http://svn.miranda-ng.org/main/trunk@4703 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/proto.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'protocols/FacebookRM/src/proto.cpp') diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 87edd10ce4..ab040021e1 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -622,15 +622,7 @@ void FacebookProto::OpenUrl(std::string url) // Make absolute url bool useHttps = db_get_b(NULL, m_szModuleName, FACEBOOK_KEY_FORCE_HTTPS, 1) > 0; - std::string newUrl = (useHttps ? HTTP_PROTO_SECURE : HTTP_PROTO_REGULAR); - - ptrA server = db_get_sa(NULL, m_szModuleName, FACEBOOK_KEY_SERVER); - if (server != NULL) - newUrl += server; - else - newUrl += FACEBOOK_SERVER_REGULAR; - - url = newUrl + url; + url = (useHttps ? HTTP_PROTO_SECURE : HTTP_PROTO_REGULAR) + facy.get_server_type() + url; } ptrT data = mir_utf8decodeT(url.c_str()); -- cgit v1.2.3