Plumbing to pass role
for room participants
This commit is contained in:
parent
a801c85a1b
commit
88ed5f7290
7 changed files with 11 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
use crate::db::{ProjectId, RoomId, RoomParticipantId, ServerId, UserId};
|
||||
use crate::db::{ChannelRole, ProjectId, RoomId, RoomParticipantId, ServerId, UserId};
|
||||
use rpc::ConnectionId;
|
||||
use sea_orm::entity::prelude::*;
|
||||
|
||||
|
@ -19,6 +19,7 @@ pub struct Model {
|
|||
pub calling_connection_id: i32,
|
||||
pub calling_connection_server_id: Option<ServerId>,
|
||||
pub participant_index: Option<i32>,
|
||||
pub role: Option<ChannelRole>,
|
||||
}
|
||||
|
||||
impl Model {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue