feat: BoostRemoved → Undo(Announce) fan-out via OutboundFederationPort

This commit is contained in:
2026-05-14 14:10:11 +02:00
parent eaf079069f
commit b0b3c6a59b
3 changed files with 146 additions and 4 deletions

View File

@@ -267,4 +267,11 @@ pub trait OutboundFederationPort: Send + Sync {
booster_user_id: &UserId,
object_ap_id: &str,
) -> Result<(), DomainError>;
/// Fan out an Undo(Announce) to followers when a boost is removed.
async fn broadcast_undo_announce(
&self,
booster_user_id: &UserId,
object_ap_id: &str,
) -> Result<(), DomainError>;
}