summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-05-13 20:12:06 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-05-13 20:12:06 +0000
commitf8830ba4d8827a9460de51e17ccd8caeed7217e2 (patch)
treec1c15b0590c89eff2644b1618982860634c497df /plugins/Dropbox/src/dropbox.cpp
parent5865e7f3b1013d8540e8bd5a8a012da26d6f6768 (diff)
Dropbox: some fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@13577 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp
index 516a30941c..a370c7e559 100644
--- a/plugins/Dropbox/src/dropbox.cpp
+++ b/plugins/Dropbox/src/dropbox.cpp
@@ -141,6 +141,8 @@ void CDropbox::DestroyAccessToken()
if (hContact)
if (db_get_w(hContact, MODULE, "Status", ID_STATUS_ONLINE) == ID_STATUS_ONLINE)
db_set_w(hContact, MODULE, "Status", ID_STATUS_OFFLINE);
+
+ ProtoBroadcastAck(MODULE, NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)ID_STATUS_ONLINE, (WPARAM)ID_STATUS_OFFLINE);
}
UINT CDropbox::RequestAccessTokenAsync(void *owner, void *param)