Replace disconnected channel notes views when re-opening the notes

This commit is contained in:
Max Brunsfeld 2023-10-12 12:38:23 -07:00
parent 2e5461ee4d
commit 85fe11ff11
2 changed files with 35 additions and 10 deletions

View file

@ -99,6 +99,10 @@ impl ChannelBuffer {
}))
}
pub fn remote_id(&self, cx: &AppContext) -> u64 {
self.buffer.read(cx).remote_id()
}
pub fn user_store(&self) -> &ModelHandle<UserStore> {
&self.user_store
}