feat: add outbox_url to RemoteActor, get_following_outbox_url to FederationRepository

This commit is contained in:
2026-05-13 01:20:48 +02:00
parent 80983f1ff2
commit faeac18126
7 changed files with 39 additions and 3 deletions

View File

@@ -119,9 +119,11 @@ impl From<&DomainEvent> for EventPayload {
}
}
DomainEvent::ImageStored { key } => EventPayload::ImageStored { key: key.clone() },
DomainEvent::WatchlistEntryAdded { .. } | DomainEvent::WatchlistEntryRemoved { .. } => {
DomainEvent::WatchlistEntryAdded { .. }
| DomainEvent::WatchlistEntryRemoved { .. }
| DomainEvent::FollowAccepted { .. } => {
// federation-only events; not serialized via EventPayload
unreachable!("watchlist events are handled by the AP event handler directly")
unreachable!("federation events are handled by the AP event handler directly")
}
}
}