feat(domain): add broadcast_like/broadcast_undo_like to OutboundFederationPort
This commit is contained in:
@@ -1390,6 +1390,26 @@ impl domain::ports::OutboundFederationPort for ActivityPubService {
|
||||
.await
|
||||
.map_err(|e| domain::errors::DomainError::Internal(e.to_string()))
|
||||
}
|
||||
|
||||
async fn broadcast_like(
|
||||
&self,
|
||||
_liker_user_id: &domain::value_objects::UserId,
|
||||
_object_ap_id: &str,
|
||||
_author_inbox_url: &str,
|
||||
) -> Result<(), domain::errors::DomainError> {
|
||||
// TODO: implement Like activity broadcasting
|
||||
Ok(())
|
||||
}
|
||||
|
||||
async fn broadcast_undo_like(
|
||||
&self,
|
||||
_liker_user_id: &domain::value_objects::UserId,
|
||||
_object_ap_id: &str,
|
||||
_author_inbox_url: &str,
|
||||
) -> Result<(), domain::errors::DomainError> {
|
||||
// TODO: implement Undo(Like) activity broadcasting
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait::async_trait]
|
||||
|
||||
Reference in New Issue
Block a user