Skip to content

Commit 7e601d3

Browse files
committed
Remove index check from actor dispatcher
1 parent 77d7ad5 commit 7e601d3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/dispatchers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import { v4 as uuidv4 } from 'uuid';
2626
import type { AccountService } from './account/account.service';
2727
import { mapActorToExternalAccountData } from './account/utils';
2828
import { type ContextData, fedify } from './app';
29-
import { ACTOR_DEFAULT_HANDLE } from './constants';
3029
import { isFollowedByDefaultSiteAccount } from './helpers/activitypub/actor';
3130
import { getUserData } from './helpers/user';
3231
import { addToList } from './kv-helpers';
@@ -43,7 +42,6 @@ export const actorDispatcher = (
4342
ctx: RequestContext<ContextData>,
4443
handle: string,
4544
) {
46-
if (handle !== ACTOR_DEFAULT_HANDLE) return null;
4745
const site = await siteService.getSiteByHost(ctx.host);
4846
if (site === null) return null;
4947

0 commit comments

Comments
 (0)