Fix joining descendant channels, style channel invites

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Max Brunsfeld
2023-08-04 16:21:43 -07:00
co-authored by Mikayla
parent 87b2d599c1
commit 2ccd153233
8 changed files with 260 additions and 193 deletions
+1 -1
View File
@@ -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 })