feat(domain): add federation management methods to FederationActionPort
This commit is contained in:
@@ -556,6 +556,51 @@ impl FederationActionPort for TestStore {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn get_pending_followers(
|
||||
&self,
|
||||
_user_id: &UserId,
|
||||
) -> Result<Vec<RemoteActor>, DomainError> {
|
||||
Ok(vec![])
|
||||
}
|
||||
|
||||
async fn accept_follow_request(
|
||||
&self,
|
||||
_user_id: &UserId,
|
||||
_actor_url: &str,
|
||||
) -> Result<(), DomainError> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn reject_follow_request(
|
||||
&self,
|
||||
_user_id: &UserId,
|
||||
_actor_url: &str,
|
||||
) -> Result<(), DomainError> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn get_remote_followers(
|
||||
&self,
|
||||
_user_id: &UserId,
|
||||
) -> Result<Vec<RemoteActor>, DomainError> {
|
||||
Ok(vec![])
|
||||
}
|
||||
|
||||
async fn remove_remote_follower(
|
||||
&self,
|
||||
_user_id: &UserId,
|
||||
_actor_url: &str,
|
||||
) -> Result<(), DomainError> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn get_remote_following(
|
||||
&self,
|
||||
_user_id: &UserId,
|
||||
) -> Result<Vec<RemoteActor>, DomainError> {
|
||||
Ok(vec![])
|
||||
}
|
||||
|
||||
async fn actor_json(&self, _user_id: &UserId) -> Result<String, DomainError> {
|
||||
Err(DomainError::NotFound)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user