Resolve all high-severity architecture review findings

This commit is contained in:
Joseph Doherty
2026-09-09 16:13:58 -04:00
parent 8bfe65512e
commit 146a13238f
192 changed files with 3160 additions and 753 deletions
@@ -1000,7 +1000,8 @@ public class NotificationOutboxActor : ReceiveActor, IWithTimers
var repository = scope.ServiceProvider.GetRequiredService<INotificationOutboxRepository>();
var notification = await repository.GetByIdAsync(query.NotificationId);
if (notification is null)
if (notification is null || (query.VerifiedSourceSiteId is { } site
&& !string.Equals(notification.SourceSiteId, site, StringComparison.Ordinal)))
{
return new NotificationStatusResponse(
query.CorrelationId, Found: false, Status: string.Empty,