fix(approvals): gate /approve by gateway scopes

This commit is contained in:
Armin Ronacher
2026-02-02 11:51:42 +01:00
committed by Peter Steinberger
parent 66d8117d44
commit efe2a464af
4 changed files with 41 additions and 1 deletions

View File

@@ -101,6 +101,8 @@ export type MsgContext = {
CommandAuthorized?: boolean;
CommandSource?: "text" | "native";
CommandTargetSessionKey?: string;
/** Gateway client scopes when the message originates from the gateway. */
GatewayClientScopes?: string[];
/** Thread identifier (Telegram topic id or Matrix thread event id). */
MessageThreadId?: string | number;
/** Telegram forum supergroup marker. */