mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 12:31:41 +00:00
fix(telegram): allow inline button callbacks in groups when command was authorized (#27309)
This commit is contained in:
@@ -536,7 +536,9 @@ export const registerTelegramHandlers = ({
|
||||
},
|
||||
"callback-allowlist": {
|
||||
enforceDirectAuthorization: true,
|
||||
enforceGroupAllowlistAuthorization: true,
|
||||
// Group auth is already enforced by shouldSkipGroupMessage (group policy + allowlist).
|
||||
// An extra allowlist gate here would block users whose original command was authorized.
|
||||
enforceGroupAllowlistAuthorization: false,
|
||||
deniedDmReason: "callback unauthorized by inlineButtonsScope allowlist",
|
||||
deniedGroupReason: "callback unauthorized by inlineButtonsScope allowlist",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user