mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 21:40:44 +00:00
refactor(routing): keep bound account scope generic
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user