summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/connection.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-25 17:09:11 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-25 17:09:11 +0000
commit0c8684347dbae1a414176968edf72ad049151592 (patch)
tree5dac9f6900ab003f9ca40b9323fe61db1c08e5c7 /protocols/FacebookRM/src/connection.cpp
parenta757184e5db3112d3de0b69eec7d39b937e396bc (diff)
Facebook: Some minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5482 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r--protocols/FacebookRM/src/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp
index 84e40254de..c241d79fe8 100644
--- a/protocols/FacebookRM/src/connection.cpp
+++ b/protocols/FacebookRM/src/connection.cpp
@@ -49,8 +49,6 @@ void FacebookProto::ChangeStatus(void*)
facy.buddies.clear();
facy.messages_ignore.clear();
- ProtoBroadcastAck(0, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
-
OnLeaveChat(NULL, NULL);
SetAllContactStatuses(ID_STATUS_OFFLINE, true);
@@ -61,6 +59,8 @@ void FacebookProto::ChangeStatus(void*)
Netlib_CloseHandle(facy.hMsgCon);
facy.hMsgCon = NULL;
+ ProtoBroadcastAck(0, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
+
LOG("##### SignOff complete");
return;