diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-26 15:26:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-26 15:26:40 +0300 |
commit | 5d8aa011513f638fbd20fdc9d0a23d334b60f178 (patch) | |
tree | f3d13c5c0fb6252ba51ddf1ebcaa892d39796006 /protocols/Discord/src | |
parent | da1b2a070c113222cbbad31b18ab704c7d1301b2 (diff) |
no need to make this function a method anymore
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/groupchat.cpp | 2 | ||||
-rw-r--r-- | protocols/Discord/src/proto.h | 1 | ||||
-rw-r--r-- | protocols/Discord/src/stdafx.h | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Discord/src/groupchat.cpp b/protocols/Discord/src/groupchat.cpp index 41351dee88..8df0cf8c19 100644 --- a/protocols/Discord/src/groupchat.cpp +++ b/protocols/Discord/src/groupchat.cpp @@ -25,7 +25,7 @@ enum { ///////////////////////////////////////////////////////////////////////////////////////// -void CDiscordProto::BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si) +void BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si) { Chat_AddGroup(si, L"@owner"); diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 4d51cdc161..44b50465a7 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -251,7 +251,6 @@ class CDiscordProto : public PROTO<CDiscordProto> void Chat_SendPrivateMessage(GCHOOK *gch); void Chat_ProcessLogMenu(GCHOOK *gch); - void BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si); void CreateChat(CDiscordGuild *pGuild, CDiscordUser *pUser); void ParseSpecialChars(SESSION_INFO *si, CMStringW &str); diff --git a/protocols/Discord/src/stdafx.h b/protocols/Discord/src/stdafx.h index ccbd587d74..10891296e9 100644 --- a/protocols/Discord/src/stdafx.h +++ b/protocols/Discord/src/stdafx.h @@ -60,6 +60,8 @@ extern HWND g_hwndHeartbeat; #include "version.h" #include "proto.h" +void BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si); + SnowFlake getId(const JSONNode &pNode); CMStringW PrepareMessageText(const JSONNode &pRoot); int StrToStatus(const CMStringW &str); |