diff options
Diffstat (limited to 'protocols/FacebookRM/src/requests')
-rw-r--r-- | protocols/FacebookRM/src/requests/channel.h | 1 | ||||
-rw-r--r-- | protocols/FacebookRM/src/requests/login.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/requests/channel.h b/protocols/FacebookRM/src/requests/channel.h index 03f36241df..3e05e2c747 100644 --- a/protocols/FacebookRM/src/requests/channel.h +++ b/protocols/FacebookRM/src/requests/channel.h @@ -37,6 +37,7 @@ public: { if (type == PULL) { timeout = 65 * 1000; + Persistent = CHANNEL; } bool isPing = (type == PING); diff --git a/protocols/FacebookRM/src/requests/login.h b/protocols/FacebookRM/src/requests/login.h index 85a2da36c6..e067374d2b 100644 --- a/protocols/FacebookRM/src/requests/login.h +++ b/protocols/FacebookRM/src/requests/login.h @@ -37,6 +37,8 @@ public: LoginRequest(const char *username, const char *password, const char *urlData, const char *bodyData) : HttpRequest(REQUEST_POST, FACEBOOK_SERVER_LOGIN "/login.php") { + Persistent = NONE; + Url << "login_attempt=1" << urlData; // additional data parsed from form |