mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 11:40:22 +00:00
device-pair: align internal command checks
This commit is contained in:
@@ -184,6 +184,7 @@ export async function executePluginCommand(params: {
|
||||
channel: string;
|
||||
channelId?: PluginCommandContext["channelId"];
|
||||
isAuthorizedSender: boolean;
|
||||
gatewayClientScopes?: PluginCommandContext["gatewayClientScopes"];
|
||||
commandBody: string;
|
||||
config: OpenClawConfig;
|
||||
from?: PluginCommandContext["from"];
|
||||
@@ -217,6 +218,7 @@ export async function executePluginCommand(params: {
|
||||
channel,
|
||||
channelId: params.channelId,
|
||||
isAuthorizedSender,
|
||||
gatewayClientScopes: params.gatewayClientScopes,
|
||||
args: sanitizedArgs,
|
||||
commandBody,
|
||||
config,
|
||||
|
||||
Reference in New Issue
Block a user