Start work on showing consistent replica ids for channel buffers
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
11ef5e2740
commit
7e83138805
8 changed files with 202 additions and 7 deletions
|
@ -2238,7 +2238,14 @@ impl CollabPanel {
|
|||
.await?;
|
||||
|
||||
workspace.update(&mut cx, |workspace, cx| {
|
||||
let channel_view = cx.add_view(|cx| ChannelView::new(channel_buffer, markdown, cx));
|
||||
let channel_view = cx.add_view(|cx| {
|
||||
ChannelView::new(
|
||||
workspace.project().to_owned(),
|
||||
channel_buffer,
|
||||
Some(markdown),
|
||||
cx,
|
||||
)
|
||||
});
|
||||
workspace.add_item(Box::new(channel_view), cx);
|
||||
})?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue