summaryrefslogtreecommitdiff
path: root/protocols/Discord/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-06-02 14:02:11 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-06-02 14:02:18 +0300
commit0b5f8dfde89f16bc4706d24009120530542ca0da (patch)
tree4840f363812f5f08e4fcf4e566a422d9b9620e4a /protocols/Discord/src
parentc632ddb4e109ddc3009507ae95890c342fb2ee6c (diff)
.
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r--protocols/Discord/src/guilds.cpp2
1 files changed, 2 insertions, 0 deletions
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"]);