diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-08 22:47:46 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-08 22:47:46 +0300 |
commit | f05340be7d013ac713fd24c19ff8304712223a73 (patch) | |
tree | 93e3ba9441fb0f90a237011778038771e6ccb052 /protocols/Discord/src/proto.cpp | |
parent | 92f80d349f63f694d0fdcf003a852fd424557663 (diff) |
avatar support for Discord
Diffstat (limited to 'protocols/Discord/src/proto.cpp')
-rw-r--r-- | protocols/Discord/src/proto.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index 79751ba1b3..71ed6dc8b2 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -38,6 +38,11 @@ CDiscordProto::CDiscordProto(const char *proto_name, const wchar_t *username) : // Services CreateProtoService(PS_GETSTATUS, &CDiscordProto::GetStatus); + CreateProtoService(PS_GETAVATARINFO, &CDiscordProto::GetAvatarInfo); + CreateProtoService(PS_GETAVATARCAPS, &CDiscordProto::GetAvatarCaps); + CreateProtoService(PS_GETMYAVATAR, &CDiscordProto::GetMyAvatar); + CreateProtoService(PS_SETMYAVATAR, &CDiscordProto::SetMyAvatar); + // Events HookProtoEvent(ME_OPT_INITIALISE, &CDiscordProto::OnOptionsInit); HookProtoEvent(ME_MSG_WINDOWEVENT, &CDiscordProto::OnSrmmEvent); |