diff --git a/src/routing/bound-account-read.ts b/src/routing/bound-account-read.ts index 10b7d2884d5..c98590d8de7 100644 --- a/src/routing/bound-account-read.ts +++ b/src/routing/bound-account-read.ts @@ -85,8 +85,6 @@ export function resolveFirstBoundAccountId(params: { peerId?: string; exactPeerIdAliases?: string[]; peerKind?: ChatType; - guildId?: string | null; - teamId?: string | null; groupSpace?: string | null; memberRoleIds?: string[]; }): string | undefined { @@ -115,8 +113,6 @@ export function resolveFirstBoundAccountId(params: { } if ( !routeBindingScopeMatches(resolved, { - guildId: params.guildId, - teamId: params.teamId, groupSpace: params.groupSpace, memberRoleIds: params.memberRoleIds, })