From 0b5f8dfde89f16bc4706d24009120530542ca0da Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 2 Jun 2024 14:02:11 +0300 Subject: . --- protocols/Discord/src/guilds.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/Discord/src') diff --git a/protocols/Discord/src/guilds.cpp b/protocols/Discord/src/guilds.cpp index a4e5a8ee3b..24f7dccf56 100644 --- a/protocols/Discord/src/guilds.cpp +++ b/protocols/Discord/src/guilds.cpp @@ -200,6 +200,8 @@ CDiscordUser* CDiscordProto::ProcessGuildChannel(CDiscordGuild *pGuild, const JS } return pUser; + case 2: // voice channel + case 0: // text channel // check permissions to enter the channel auto permissions = pGuild->CalcPermissionOverride(m_ownId, pch["permission_overwrites"]); -- cgit v1.2.3