[backend/federation] Fix typo causing confusing log messages in ActivityHandlerService

This commit is contained in:
Laura Hausmann 2024-10-23 17:48:29 +02:00
parent 0e8aa8963c
commit dd8a59db13
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -53,7 +53,7 @@ public class ActivityHandlerService(
if (new Uri(activity.Actor.Id).Host != new Uri(activity.Id).Host)
throw GracefulException
.UnprocessableEntity($"Activity identifier ({activity.Actor.Id}) host doesn't match actor identifier ({activity.Id}) host");
.UnprocessableEntity($"Activity identifier ({activity.Id}) host doesn't match actor identifier ({activity.Actor.Id}) host");
if (resolvedActor.Host == null || resolvedActor.Uri == null)
throw new Exception("resolvedActor.Host and resolvedActor.Uri must not be null at this stage");