diff options
author | George Hazan <george.hazan@gmail.com> | 2024-06-02 14:02:11 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-06-02 14:02:18 +0300 |
commit | 0b5f8dfde89f16bc4706d24009120530542ca0da (patch) | |
tree | 4840f363812f5f08e4fcf4e566a422d9b9620e4a /protocols/Discord/src | |
parent | c632ddb4e109ddc3009507ae95890c342fb2ee6c (diff) |
.
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/guilds.cpp | 2 |
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"]);
|