fix: harden discord ack auth and gate fallout (#60081) (thanks @FunJim)

This commit is contained in:
Peter Steinberger
2026-04-04 00:37:46 +09:00
parent c1741abc3c
commit bf6bd7432a
6 changed files with 44 additions and 12 deletions

View File

@@ -503,7 +503,7 @@ const telegramCommandTestPlugin: ChannelPlugin = {
isTelegramExecApprovalAuthorizedSender({ cfg, accountId, senderId }) &&
!getTelegramExecApprovalApprovers({ cfg, accountId }).includes(senderId?.trim() ?? "")
) {
return { kind: "ignore" } as const;
return undefined;
}
return {
kind: "reply",