feat: add POST /federation/me/move endpoint

This commit is contained in:
2026-05-28 01:47:29 +02:00
parent ff75361eb1
commit 50a90efbce
4 changed files with 39 additions and 0 deletions

View File

@@ -287,6 +287,11 @@ pub trait FederationFollowPort: Send + Sync {
) -> Result<(), DomainError>;
async fn get_remote_following(&self, user_id: &UserId)
-> Result<Vec<RemoteActor>, DomainError>;
async fn broadcast_move(
&self,
user_id: &UserId,
new_actor_url: url::Url,
) -> Result<(), DomainError>;
}
#[async_trait]