Fixes to get voice working properly, not fully confident it'll work under pressure but it's done well in small tests
This commit is contained in:
@@ -40,7 +40,9 @@ export async function returnOrCreateNewCallID(db: Repository<DBCall>, channel: V
|
||||
export async function setCallEndTime(db: Repository<DBCall>, channel: VoiceBasedChannel) : Promise<DBCall | null> {
|
||||
const call: DBCall | null = await db.findOne({
|
||||
"where": {
|
||||
channel: channel,
|
||||
channel: {
|
||||
channel_snowflake: channel.id
|
||||
},
|
||||
call_end_time: IsNull()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user