summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/client.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-09-04 14:04:54 +0000
committerRobert Pösel <robyer@seznam.cz>2016-09-04 14:04:54 +0000
commit826072cd435d8c5b0592e24cc438702bd479e3b2 (patch)
tree43c9af264946a2d42d8c1f5e9f95767ccfa51e14 /protocols/FacebookRM/src/client.h
parentbb81def84fd84bb6e762e556169ae081b67569f8 (diff)
Facebook: Use separate persistent connection for sending messages to make sending faster
git-svn-id: http://svn.miranda-ng.org/main/trunk@17248 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/client.h')
-rw-r--r--protocols/FacebookRM/src/client.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h
index 14af119921..5b2c6da90f 100644
--- a/protocols/FacebookRM/src/client.h
+++ b/protocols/FacebookRM/src/client.h
@@ -40,7 +40,8 @@ public:
msgid_ = error_count_ = last_feeds_update_ = last_notification_time_ = random_ = chat_msgs_recv_ = chat_req_ = 0;
send_message_lock_ = notifications_lock_ = cookies_lock_ = NULL;
- hMsgCon = NULL;
+ hChannelCon = NULL;
+ hMessagesCon = NULL;
hFcbCon = NULL;
fcb_conn_lock_ = NULL;
handle_ = NULL;
@@ -49,7 +50,8 @@ public:
mbasicWorks = true;
}
- HANDLE hMsgCon;
+ HANDLE hChannelCon;
+ HANDLE hMessagesCon;
HANDLE hFcbCon;
HANDLE fcb_conn_lock_;