summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-02-17 16:17:08 +0000
committerRobert Pösel <robyer@seznam.cz>2015-02-17 16:17:08 +0000
commit1144c13b3ced478e35f5e56ba0564887eacf54f9 (patch)
tree216194453ad8bf2d88cf69253da42510c7f7dd0a /protocols/FacebookRM/src/proto.cpp
parent0fabeec3192ad9d346b7dadfb35b38d2866f14c7 (diff)
Facebook: Completely remove option to use https and always use it; version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@12165 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r--protocols/FacebookRM/src/proto.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index f37a6f1fc0..b28a465de1 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -888,8 +888,7 @@ std::string FacebookProto::PrepareUrl(std::string url) {
}
// Make absolute url
- bool useHttps = getByte(FACEBOOK_KEY_FORCE_HTTPS, 1) > 0;
- url = (useHttps ? HTTP_PROTO_SECURE : HTTP_PROTO_REGULAR) + facy.get_server_type() + url;
+ url = HTTP_PROTO_SECURE + facy.get_server_type() + url;
}
return url;