diff options
author | aunsane <aunsane@gmail.com> | 2017-03-16 00:52:31 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-03-16 00:52:31 +0300 |
commit | 69c00c5b8999f66f27475342c78cc4488959e8bb (patch) | |
tree | 89046c469bd8337e2c191d348d47bceb69a49ee0 /protocols/Slack/src/slack_proto.cpp | |
parent | c84b27ebb4eaa5327c601f0b504249bf061ef3b5 (diff) |
Slack: some improvements
Diffstat (limited to 'protocols/Slack/src/slack_proto.cpp')
-rw-r--r-- | protocols/Slack/src/slack_proto.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/Slack/src/slack_proto.cpp b/protocols/Slack/src/slack_proto.cpp index e3731794d4..318e1366bc 100644 --- a/protocols/Slack/src/slack_proto.cpp +++ b/protocols/Slack/src/slack_proto.cpp @@ -23,9 +23,9 @@ DWORD_PTR CSlackProto::GetCaps(int type, MCONTACT) case PFLAGNUM_1: return PF1_IMSEND; case PFLAGNUM_2: - return PF2_ONLINE; + return PF2_ONLINE | PF2_SHORTAWAY; case PFLAGNUM_3: - return PF2_ONLINE; + return PF2_ONLINE | PF2_SHORTAWAY; case PFLAG_UNIQUEIDTEXT: return (INT_PTR)"User Id"; case PFLAG_UNIQUEIDSETTING: @@ -154,6 +154,9 @@ int CSlackProto::OnEvent(PROTOEVENTTYPE iEventType, WPARAM wParam, LPARAM lParam case EV_PROTO_ONLOAD: return OnAccountLoaded(wParam, lParam); + case EV_PROTO_ONERASE: + return OnAccountDeleted(wParam, lParam); + case EV_PROTO_ONCONTACTDELETED: return OnContactDeleted(wParam, lParam); } |