summary refs log tree commit diff
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-04-22 23:03:36 +0300
committerGitHub <noreply@github.com>2022-04-22 23:03:36 +0300
commitf17cc6bba27ca72b48df858d342c26767372703c (patch)
tree92cef3961aea4213e2475e42d489405fb6f80323
parentMerge pull request #734 from MaddyUnderStars/fix/sanitisation (diff)
downloadserver-f17cc6bba27ca72b48df858d342c26767372703c.tar.xz
text+voice code is already there
-rw-r--r--util/src/entities/Channel.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts
index c516e6a1..98766a9d 100644
--- a/util/src/entities/Channel.ts
+++ b/util/src/entities/Channel.ts
@@ -357,7 +357,6 @@ export class Channel extends BaseClass {
 	isWritable() {

 		const disallowedChannelTypes = [

 			ChannelType.GUILD_CATEGORY,

-			ChannelType.GUILD_VOICE,		// TODO: Remove this when clients can send messages to voice channels on discord.com

 			ChannelType.GUILD_STAGE_VOICE,

 			ChannelType.VOICELESS_WHITEBOARD,

 		];