From b22139ea73a4b1556f548ef6bf4baf05d9ca5b9b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 20 Oct 2024 06:25:20 +0200 Subject: [PATCH] Rename actor dispatcher to actor handler --- src/dv/dotinoVeloce.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dv/dotinoVeloce.ts b/src/dv/dotinoVeloce.ts index a99140d..470ff87 100644 --- a/src/dv/dotinoVeloce.ts +++ b/src/dv/dotinoVeloce.ts @@ -19,7 +19,7 @@ export class DotinoVeloce { this.stratz = stratz this.federation = createFederation({ kv }) this.federation.setInboxListeners("/inbox/{identifier}", /* We don't need shared inboxes here. */) - this.federation.setActorDispatcher("/users/{identifier}", this.#actorDispatcher) + this.federation.setActorDispatcher("/users/{identifier}", this.#actorHandler) } #commonActorProperties(ctx: Context, handle: string): Partial { @@ -186,7 +186,7 @@ export class DotinoVeloce { return actor } - async #actorDispatcher(ctx: any, handle: string) { + async #actorHandler(ctx: any, handle: string) { l.debug`Handling actor with handle: ${handle}` let actor = null