Fix errors from assuming all room_participant rows had a non-null participant_index
Rows representing pending participants have a null participant_index. Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
parent
a8b35eb8f5
commit
ce940da8e9
3 changed files with 27 additions and 14 deletions
|
@ -18,7 +18,7 @@ pub struct Model {
|
|||
pub calling_user_id: UserId,
|
||||
pub calling_connection_id: i32,
|
||||
pub calling_connection_server_id: Option<ServerId>,
|
||||
pub participant_index: i32,
|
||||
pub participant_index: Option<i32>,
|
||||
}
|
||||
|
||||
impl Model {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue