feat(domain): add mark_follower_accepted/rejected thin port methods

This commit is contained in:
2026-05-28 02:22:52 +02:00
parent 2060317867
commit 04f39e35c2
2 changed files with 30 additions and 0 deletions

View File

@@ -322,6 +322,20 @@ pub trait FederationFollowRequestPort: Send + Sync {
user_id: &UserId,
actor_url: &str,
) -> Result<(), DomainError>;
/// Update follower status to Accepted in DB only — no federation activity sent.
async fn mark_follower_accepted(
&self,
user_id: &UserId,
actor_url: &str,
) -> Result<(), DomainError>;
/// Remove follower from DB only — no federation activity sent.
async fn mark_follower_rejected(
&self,
user_id: &UserId,
actor_url: &str,
) -> Result<(), DomainError>;
}
#[async_trait]