diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-07 20:14:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-07 20:14:21 +0300 |
commit | f60c78abfbd5f279b30de729046b805bba8e00b0 (patch) | |
tree | 1120bba828b2151604e98163aa7a3fe221264068 /protocols/Discord | |
parent | 26a653ecae7edbeefb7966e08714e152c73b78eb (diff) |
Proto_GetStatus is used everywhere instead of PS_GETSTATUS
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/proto.cpp | 6 | ||||
-rw-r--r-- | protocols/Discord/src/proto.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index 8884cc0ff8..b4207c66f0 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -50,7 +50,6 @@ CDiscordProto::CDiscordProto(const char *proto_name, const wchar_t *username) : arUsers(10, compareUsers) { // Services - CreateProtoService(PS_GETSTATUS, &CDiscordProto::GetStatus); CreateProtoService(PS_CREATEACCMGRUI, &CDiscordProto::SvcCreateAccMgrUI); CreateProtoService(PS_GETAVATARINFO, &CDiscordProto::GetAvatarInfo); @@ -121,11 +120,6 @@ DWORD_PTR CDiscordProto::GetCaps(int type, MCONTACT) return 0; } -INT_PTR CDiscordProto::GetStatus(WPARAM, LPARAM) -{ - return m_iStatus; -} - int CDiscordProto::SetStatus(int iNewStatus) { debugLogA("CDiscordProto::SetStatus iNewStatus = %d, m_iStatus = %d, m_iDesiredStatus = %d m_hWorkerThread = %p", iNewStatus, m_iStatus, m_iDesiredStatus, m_hWorkerThread); diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 49715cccd6..99fb50ecf6 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -283,7 +283,6 @@ public: // Services INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM, LPARAM); - INT_PTR __cdecl GetStatus(WPARAM, LPARAM); INT_PTR __cdecl GetAvatarCaps(WPARAM, LPARAM); INT_PTR __cdecl GetAvatarInfo(WPARAM, LPARAM); |