🚚 Rename activitypub processor to handler

This commit is contained in:
2025-12-31 18:33:49 +08:00
parent 3da6de1feb
commit 413ae80c96
3 changed files with 54 additions and 56 deletions

View File

@@ -14,7 +14,7 @@ public class ActivityPubController(
IConfiguration configuration,
ILogger<ActivityPubController> logger,
ActivityPubSignatureService signatureService,
ActivityPubActivityProcessor activityProcessor,
ActivityPubActivityHandler activityHandler,
ActivityPubKeyService keyService
) : ControllerBase
{
@@ -106,7 +106,7 @@ public class ActivityPubController(
return Unauthorized(new { error = "Invalid signature" });
}
var success = await activityProcessor.ProcessIncomingActivityAsync(HttpContext, username, activity);
var success = await activityHandler.HandleIncomingActivityAsync(HttpContext, username, activity);
if (!success)
{