summaryrefslogtreecommitdiff
path: root/protocols/Slack/src/slack_accounts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Slack/src/slack_accounts.cpp')
-rw-r--r--protocols/Slack/src/slack_accounts.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/Slack/src/slack_accounts.cpp b/protocols/Slack/src/slack_accounts.cpp
index 50640ae37a..47ebdecdc6 100644
--- a/protocols/Slack/src/slack_accounts.cpp
+++ b/protocols/Slack/src/slack_accounts.cpp
@@ -37,6 +37,14 @@ int CSlackProto::OnAccountLoaded(WPARAM, LPARAM)
return 0;
}
+int CSlackProto::OnAccountDeleted(WPARAM, LPARAM)
+{
+ ptrA token(getStringA("TokenSecret"));
+ SendRequest(new AuthRevokeRequest(token));
+
+ return 0;
+};
+
INT_PTR CSlackProto::OnAccountManagerInit(WPARAM, LPARAM)
{
return NULL;// (INT_PTR)(CSlackOptionsMain::CreateAccountManagerPage(this, (HWND)lParam))->GetHwnd();