Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Jun 8, 2017
1 parent 24c1746 commit 77a5070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/ConsoleDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function matchesRequest()
*/
public function getConversationAnswer(IncomingMessage $message)
{
$index = (int)$message->getMessage() - 1;
$index = (int)$message->getText() - 1;

if ($this->hasQuestion && isset($this->lastQuestions[$index])) {
$question = $this->lastQuestions[$index];
Expand Down

0 comments on commit 77a5070

Please sign in to comment.