diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-05-17 18:00:05 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-05-17 18:00:05 +0000 |
commit | 0d8ae90913bd0b53c6af709928e7f5e5a3fc9b50 (patch) | |
tree | 85aaf04425373593c56bb413a158f9102d5ec3ad /protocols/FacebookRM/src/proto.cpp | |
parent | 1c917ac3f485ffac7b4316d633a344fbafcedb78 (diff) |
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
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
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());
|