This commit is contained in:
Max Brunsfeld 2023-08-02 15:52:56 -07:00
parent 4d55110452
commit 0ae1f29be8
9 changed files with 24 additions and 28 deletions

View file

@ -115,10 +115,6 @@ impl ChannelStore {
}
}
pub fn is_channel_invite_pending(&self, channel: &Arc<Channel>) -> bool {
false
}
pub fn remove_channel(&self, channel_id: ChannelId) -> impl Future<Output = Result<()>> {
let client = self.client.clone();
async move {
@ -127,6 +123,10 @@ impl ChannelStore {
}
}
pub fn is_channel_invite_pending(&self, _: &Arc<Channel>) -> bool {
false
}
pub fn remove_member(
&self,
channel_id: ChannelId,
@ -144,10 +144,6 @@ impl ChannelStore {
todo!()
}
pub fn add_guest_channel(&self, channel_id: ChannelId) -> Task<Result<()>> {
todo!()
}
async fn handle_update_channels(
this: ModelHandle<Self>,
message: TypedEnvelope<proto::UpdateChannels>,