Skip to content

Commit

Permalink
fix: video permission on public channels (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
geisterfurz007 authored Feb 19, 2024
1 parent 51f6a2c commit 4208a4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class VoiceAcceptAllUsers extends CommandHandler<DiscordEvent.VOICE_STATE_UPDATE

const userId = after.id;

const mapping = this.vodService.mappingByUserId(userId);
const mapping = await this.vodService.mappingByUserId(userId);
if (!mapping) return;

const everyone = newChannel.guild.roles.everyone;
Expand Down

0 comments on commit 4208a4d

Please sign in to comment.