[backend/federation] Log type of unsupported undo activities
This commit is contained in:
parent
07eba89fa0
commit
ddfa108677
1 changed files with 3 additions and 2 deletions
|
@ -159,7 +159,8 @@ public class ActivityHandlerService(
|
|||
await UnblockAsync(resolvedActor, blockee);
|
||||
return;
|
||||
default:
|
||||
throw GracefulException.UnprocessableEntity("Undo activity object is invalid");
|
||||
throw GracefulException
|
||||
.UnprocessableEntity($"Undo activity object is invalid: {activity.Object.Type}");
|
||||
}
|
||||
}
|
||||
case ASLike like:
|
||||
|
@ -427,7 +428,7 @@ public class ActivityHandlerService(
|
|||
p.Notifiee == followee &&
|
||||
p.Notifier == follower)
|
||||
.ExecuteDeleteAsync();
|
||||
|
||||
|
||||
eventSvc.RaiseUserUnfollowed(this, follower, followee);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue