Fix joining descendant channels, style channel invites
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
87b2d599c1
commit
2ccd153233
8 changed files with 260 additions and 193 deletions
|
@ -104,7 +104,7 @@ impl ChannelStore {
|
|||
parent_id: Option<ChannelId>,
|
||||
) -> impl Future<Output = Result<ChannelId>> {
|
||||
let client = self.client.clone();
|
||||
let name = name.to_owned();
|
||||
let name = name.trim_start_matches("#").to_owned();
|
||||
async move {
|
||||
Ok(client
|
||||
.request(proto::CreateChannel { name, parent_id })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue