Implement final move, link, unlink db APIs

This commit is contained in:
Mikayla 2023-09-14 20:29:29 -07:00
parent 7fa68a9aa4
commit 9afb67f2cf
No known key found for this signature in database
8 changed files with 160 additions and 174 deletions

View file

@ -346,7 +346,7 @@ impl ChannelStore {
pub fn unlink_channel(
&mut self,
channel_id: ChannelId,
from: Option<ChannelId>,
from: ChannelId,
cx: &mut ModelContext<Self>,
) -> Task<Result<()>> {
let client = self.client.clone();
@ -362,7 +362,7 @@ impl ChannelStore {
pub fn move_channel(
&mut self,
channel_id: ChannelId,
from: Option<ChannelId>,
from: ChannelId,
to: ChannelId,
cx: &mut ModelContext<Self>,
) -> Task<Result<()>> {