Skip to content

Commit

Permalink
chore(sdk-js): Fix documentation for createPublicChannel (refs #43)
Browse files Browse the repository at this point in the history
  • Loading branch information
nesium committed Jan 26, 2024
1 parent 2ad16d0 commit 193c55f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/prose-sdk-js/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ impl Client {
.into())
}

/// Creates the public channel or joins it if one with the same name already exists and
/// returns the `BareJid`.
/// Creates the public channel and returns the `BareJid` of the created room. Fails if another
/// channel with the same name exists.
#[wasm_bindgen(js_name = "createPublicChannel")]
pub async fn create_public_channel(&self, channel_name: &str) -> Result<BareJid> {
Ok(self
Expand Down

0 comments on commit 193c55f

Please sign in to comment.