summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/groupchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/groupchat.cpp')
-rw-r--r--protocols/Discord/src/groupchat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Discord/src/groupchat.cpp b/protocols/Discord/src/groupchat.cpp
index cc26dbb162..41351dee88 100644
--- a/protocols/Discord/src/groupchat.cpp
+++ b/protocols/Discord/src/groupchat.cpp
@@ -25,12 +25,12 @@ enum {
/////////////////////////////////////////////////////////////////////////////////////////
-void CDiscordProto::BuildStatusList(const CDiscordGuild *pGuild, const CMStringW &wszChannelId)
+void CDiscordProto::BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si)
{
- Chat_AddGroup(m_szModuleName, wszChannelId, L"@owner");
+ Chat_AddGroup(si, L"@owner");
for (auto &it : pGuild->arRoles)
- Chat_AddGroup(m_szModuleName, wszChannelId, it->wszName);
+ Chat_AddGroup(si, it->wszName);
}
/////////////////////////////////////////////////////////////////////////////////////////