Rename actor dispatcher to actor handler
This commit is contained in:
parent
42c7f73bf5
commit
b22139ea73
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ export class DotinoVeloce {
|
||||||
this.stratz = stratz
|
this.stratz = stratz
|
||||||
this.federation = createFederation<ContextData>({ kv })
|
this.federation = createFederation<ContextData>({ kv })
|
||||||
this.federation.setInboxListeners("/inbox/{identifier}", /* We don't need shared inboxes here. */)
|
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<ContextData>, handle: string): Partial<Actor> {
|
#commonActorProperties(ctx: Context<ContextData>, handle: string): Partial<Actor> {
|
||||||
|
@ -186,7 +186,7 @@ export class DotinoVeloce {
|
||||||
return actor
|
return actor
|
||||||
}
|
}
|
||||||
|
|
||||||
async #actorDispatcher(ctx: any, handle: string) {
|
async #actorHandler(ctx: any, handle: string) {
|
||||||
l.debug`Handling actor with handle: ${handle}`
|
l.debug`Handling actor with handle: ${handle}`
|
||||||
|
|
||||||
let actor = null
|
let actor = null
|
||||||
|
|
Loading…
Reference in a new issue