Skip to content

Commit

Permalink
Merge pull request #1759 from xavierbriole/fix/hitl-quick-reply
Browse files Browse the repository at this point in the history
fix(hitl): pause on quick reply
  • Loading branch information
rndlaine committed Jun 14, 2019
2 parents 66566f2 + a3898aa commit c3edfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hitl/src/backend/setup.ts
Expand Up @@ -47,7 +47,7 @@ export default async (bp: SDK, db: Database) => {

const config = await bp.config.getModuleConfigForBot('hitl', event.botId)

if ((!!session.paused || config.paused) && _.includes(['text', 'message'], event.type)) {
if ((!!session.paused || config.paused) && _.includes(['text', 'message', 'quick_reply'], event.type)) {
debugSwallow('message swallowed / session paused', {
target: event.target,
channel: event.channel,
Expand Down

0 comments on commit c3edfbd

Please sign in to comment.