diff --git a/backend/canisters/group/api/can.did b/backend/canisters/group/api/can.did index bb0697400e..f6875f43e2 100644 --- a/backend/canisters/group/api/can.did +++ b/backend/canisters/group/api/can.did @@ -564,7 +564,6 @@ type ResetInviteCodeResponse = variant { }; type FollowThreadArgs = record { - channel_id : ChannelId; thread_root_message_index : MessageIndex; }; @@ -578,7 +577,6 @@ type FollowThreadResponse = variant { }; type UnfollowThreadArgs = record { - channel_id : ChannelId; thread_root_message_index : MessageIndex; }; diff --git a/backend/canisters/group/api/src/updates/follow_thread.rs b/backend/canisters/group/api/src/updates/follow_thread.rs index a6b8461f8b..68fd71bc82 100644 --- a/backend/canisters/group/api/src/updates/follow_thread.rs +++ b/backend/canisters/group/api/src/updates/follow_thread.rs @@ -1,10 +1,9 @@ use candid::CandidType; use serde::{Deserialize, Serialize}; -use types::{ChannelId, MessageIndex}; +use types::MessageIndex; #[derive(CandidType, Serialize, Deserialize, Debug)] pub struct Args { - pub channel_id: ChannelId, pub thread_root_message_index: MessageIndex, } diff --git a/backend/canisters/group/api/src/updates/unfollow_thread.rs b/backend/canisters/group/api/src/updates/unfollow_thread.rs index 4b26a4fbc3..d478860e79 100644 --- a/backend/canisters/group/api/src/updates/unfollow_thread.rs +++ b/backend/canisters/group/api/src/updates/unfollow_thread.rs @@ -1,10 +1,9 @@ use candid::CandidType; use serde::{Deserialize, Serialize}; -use types::{ChannelId, MessageIndex}; +use types::MessageIndex; #[derive(CandidType, Serialize, Deserialize, Debug)] pub struct Args { - pub channel_id: ChannelId, pub thread_root_message_index: MessageIndex, }