ZIm/crates/call/src
Bennet Bo Fenner 5b4ff74dca
collab ui: Dismiss project shared notifications when leaving room (#10160)
When leaving a call/room in which a project was shared, the shared
project notification was not getting dismissed when the person that
shared the project left the room.
Although there was a `cx.emit(Event::Left)` call inside room, the event
was never received in the `project_shared_notification` module, because
the room is dropped before the event can be dispatched. Moving the
`cx.emit(Event::Left)` to the active call fixed the problem. Also
renamed `Event::Left` to `Event::RoomLeft` because the room join
equivalent is also called `Event::RoomJoined`.


Release Notes:

- Fixed project shared notification staying open, when the user that
shared the project left the room
2024-04-04 13:43:14 +02:00
..
call.rs collab ui: Dismiss project shared notifications when leaving room (#10160) 2024-04-04 13:43:14 +02:00
call_settings.rs revert single channel click (#7738) 2024-02-13 12:53:49 -07:00
participant.rs revert single channel click (#7738) 2024-02-13 12:53:49 -07:00
room.rs collab ui: Dismiss project shared notifications when leaving room (#10160) 2024-04-04 13:43:14 +02:00