anonymous calls
This commit is contained in:
parent
309342b730
commit
8747657999
12 changed files with 712 additions and 39 deletions
|
|
@ -50,6 +50,9 @@ pub async fn get_call_token(user_id: i64, call_id: Uuid) -> Option<String> {
|
|||
}
|
||||
return Some(member.create_token());
|
||||
}
|
||||
if cg.is_anonymous().await {
|
||||
return cg.create_anonymous_token(user_id).await;
|
||||
}
|
||||
return None;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue