This commit is contained in:
Conrad Irwin 2024-01-25 23:31:18 -07:00
parent 4b672621d3
commit abdf302367
2 changed files with 1 additions and 11 deletions

View file

@ -88,15 +88,6 @@ impl Channel {
slug.trim_matches(|c| c == '-').to_string()
}
pub fn channel_buffer_capability(&self) -> Capability {
todo!() // go ask the channel store
// if self.role == proto::ChannelRole::Member || self.role == proto::ChannelRole::Admin {
// Capability::ReadWrite
// } else {
// Capability::ReadOnly
// }
}
}
pub struct ChannelMembership {