anonymous calls

This commit is contained in:
Alex-Emmet 2026-01-20 21:45:05 +01:00
commit 8747657999
12 changed files with 712 additions and 39 deletions

View file

@ -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;
}