summary refs log tree commit diff
path: root/gateway
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-18 18:36:29 +0200
committerAlTech98 <altech123159@gmail.com>2021-09-18 18:36:29 +0200
commitada95b6c3938f9aa644aebc2bb26dbb073aa3324 (patch)
tree8bd28dfd7a6674becc41da906cea475448fa95b0 /gateway
parentFix gateway not listening for new channels events (diff)
downloadserver-ada95b6c3938f9aa644aebc2bb26dbb073aa3324.tar.xz
Removed ChannelService, more fixes
Diffstat (limited to '')
-rw-r--r--gateway/src/listener/listener.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/src/listener/listener.ts b/gateway/src/listener/listener.ts

index 35841312..ae13cca7 100644 --- a/gateway/src/listener/listener.ts +++ b/gateway/src/listener/listener.ts
@@ -32,7 +32,7 @@ export async function setupListener(this: WebSocket) { }); const guilds = members.map((x) => x.guild); const recipients = await Recipient.find({ - where: { user_id: this.user_id }, + where: { user_id: this.user_id, closed: false }, relations: ["channel"], }); const dm_channels = recipients.map((x) => x.channel);