Skip to content

Commit

Permalink
Fix isInteractiveMessageReply check
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Mar 27, 2018
1 parent aa527e3 commit 7399fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function getConversationAnswer(IncomingMessage $message)
{
$interactive = $this->event->get('interactive', false);
if (is_string($interactive)) {
$interactive = $interactive !== 'false';
$interactive = ($interactive !== 'false') && ($interactive !== '0');
} else {
$interactive = (bool) $interactive;
}
Expand Down

0 comments on commit 7399fd2

Please sign in to comment.