summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Chrome <christophercookman@gmail.com>2022-08-13 01:05:11 -0600
committerGitHub <noreply@github.com>2022-08-13 01:05:11 -0600
commit3d38a9dc9c0c3289d6e4ee6a4ae8cc11c9833206 (patch)
treedb3956f3517ee00d97ee58f658b9db0e09873030
parentThat... Was a bad idea (diff)
parentThats it, thats the fix, thanks erkinalp (diff)
downloadserver-3d38a9dc9c0c3289d6e4ee6a4ae8cc11c9833206.tar.xz
Merge pull request #839 from fosscord/dev/dms
Fix DMs
-rw-r--r--util/src/entities/Channel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts
index 92940b34..ade0fb39 100644
--- a/util/src/entities/Channel.ts
+++ b/util/src/entities/Channel.ts
@@ -245,7 +245,7 @@ export class Channel extends BaseClass {
 		}

 		**/

 

-		const type = recipients.length > 1 ? ChannelType.DM : ChannelType.GROUP_DM;

+		const type = recipients.length > 1 ? ChannelType.GROUP_DM : ChannelType.DM;

 

 		let channel = null;