summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-03 15:57:44 +0200
committerGitHub <noreply@github.com>2021-09-03 15:57:44 +0200
commit3a3de120dca58ac79920d45af8b3166815fea637 (patch)
tree07b9d0362549c2f3b2bbc31d0233ce7cc1f03295 /util
parent:bug: fix #311 (diff)
parent:bug: only delete session id for authenticated connections (diff)
downloadserver-3a3de120dca58ac79920d45af8b3166815fea637.tar.xz
Merge pull request #314 from AlTech98/master
Fix VoiceStateUpdate
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/VoiceState.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/src/entities/VoiceState.ts b/util/src/entities/VoiceState.ts
index d7a032c7..56eb244e 100644
--- a/util/src/entities/VoiceState.ts
+++ b/util/src/entities/VoiceState.ts
@@ -32,8 +32,9 @@ export class VoiceState extends BaseClass {
 	@ManyToOne(() => User)
 	user: User;
 
-	@JoinColumn({ name: "user_id" })
-	@ManyToOne(() => Member)
+	// @JoinColumn([{ name: "user_id", referencedColumnName: "id" },{ name: "guild_id", referencedColumnName: "guild_id" }])
+	// @ManyToOne(() => Member)
+	//TODO find a way to make it work without breaking Guild.voice_states
 	member: Member;
 
 	@Column()