From ad883871bea120ccc4ca40be99edbac31e1ff0e9 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Thu, 20 Nov 2025 14:36:16 -0600 Subject: [PATCH] only for gorups --- src/util/entities/Channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts index a5995726..c15b2ca2 100644 --- a/src/util/entities/Channel.ts +++ b/src/util/entities/Channel.ts @@ -295,7 +295,7 @@ export class Channel extends BaseClass { channel = await Channel.create({ name, type, - owner_id: creator_user_id, + owner_id: type === ChannelType.GROUP_DM ? creator_user_id : undefined, created_at: new Date(), last_message_id: undefined, recipients: channelRecipients.map((x) =>