This commit is contained in:
Antonio Scandurra 2022-10-17 18:00:54 +02:00
parent 81d83841ab
commit 499b8f5f55
13 changed files with 245 additions and 263 deletions

View file

@ -78,7 +78,7 @@ impl Client {
}
}
pub fn room_token_for_user(&self, room: &str, identity: &str) -> Result<String> {
pub fn room_token(&self, room: &str, identity: &str) -> Result<String> {
token::create(
&self.key,
&self.secret,