diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-03-15 11:12:14 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-03-15 11:12:14 +0000 |
commit | 2f23f177d8ffcb7e65c52fc7c28b9cb269be8abb (patch) | |
tree | b50a4def109591c388992404d97bde714aaab233 /protocols/FacebookRM/src/communication.cpp | |
parent | a7161575512b0b043c025fd2efbbc612d309c56d (diff) |
Facebook: fix showing duplicates of sent messages (at the cost of slowing down whole processing and sending only one message at a time :()
git-svn-id: http://svn.miranda-ng.org/main/trunk@8618 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 53e2bd08a8..9308be3ed8 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -1147,6 +1147,8 @@ bool facebook_client::channel() bool facebook_client::send_message(std::string message_recipient, std::string message_text, std::string *error_text, MessageMethod method)
{
+ ScopedLock s(send_message_lock_);
+
handle_entry("send_message");
http::response resp;
|