Open chat panel for guests
This commit is contained in:
parent
dc158f708f
commit
f0d490c671
3 changed files with 12 additions and 4 deletions
|
@ -442,8 +442,10 @@ impl ActiveCall {
|
|||
.location
|
||||
.as_ref()
|
||||
.and_then(|location| location.upgrade());
|
||||
let channel_id = room.update(cx, |room, cx| room.channel_id());
|
||||
cx.emit(Event::RoomJoined { channel_id });
|
||||
let (channel_id, role) = room.update(cx, |room, _| {
|
||||
(room.channel_id(), room.local_participant().role)
|
||||
});
|
||||
cx.emit(Event::RoomJoined { channel_id, role });
|
||||
room.update(cx, |room, cx| room.set_location(location.as_ref(), cx))
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue