Merge pull request #2103 from zed-industries/connection-staleness
Fix connection staleness issues
This commit is contained in:
commit
ac7618da17
5 changed files with 22 additions and 19 deletions
|
@ -1593,12 +1593,8 @@ impl Database {
|
|||
.filter(
|
||||
Condition::all()
|
||||
.add(
|
||||
room_participant::Column::CallingConnectionId
|
||||
.eq(connection.id as i32),
|
||||
)
|
||||
.add(
|
||||
room_participant::Column::CallingConnectionServerId
|
||||
.eq(connection.owner_id as i32),
|
||||
room_participant::Column::CallingUserId
|
||||
.eq(leaving_participant.user_id),
|
||||
)
|
||||
.add(room_participant::Column::AnsweringConnectionId.is_null()),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue