Display invite response buttons inline in notification panel
This commit is contained in:
parent
c66385f0f9
commit
f225039d36
19 changed files with 421 additions and 169 deletions
|
@ -3181,10 +3181,11 @@ impl CollabPanel {
|
|||
accept: bool,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) {
|
||||
let respond = self.channel_store.update(cx, |store, _| {
|
||||
store.respond_to_channel_invite(channel_id, accept)
|
||||
});
|
||||
cx.foreground().spawn(respond).detach();
|
||||
self.channel_store
|
||||
.update(cx, |store, cx| {
|
||||
store.respond_to_channel_invite(channel_id, accept, cx)
|
||||
})
|
||||
.detach();
|
||||
}
|
||||
|
||||
fn call(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue