Fix notifications on channel changes

This commit is contained in:
Conrad Irwin
2023-10-18 15:56:33 -06:00
parent 0ce1ec5d15
commit 2b11463567
6 changed files with 598 additions and 262 deletions
+7
View File
@@ -940,6 +940,13 @@ impl ChannelStore {
for channel_id in &payload.delete_channels {
let channel_id = *channel_id;
if payload
.channels
.iter()
.any(|channel| channel.id == channel_id)
{
continue;
}
if let Some(OpenedModelHandle::Open(buffer)) =
self.opened_buffers.remove(&channel_id)
{