Skip to content

Commit

Permalink
Merge pull request #7 from CrushedLive/master
Browse files Browse the repository at this point in the history
Update ConsoleDriver.php
  • Loading branch information
mpociot authored Oct 29, 2017
2 parents 45975f9 + 9fae898 commit b5ab470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Drivers/ConsoleDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function types(IncomingMessage $matchingMessage)
*/
public function getUser(IncomingMessage $matchingMessage)
{
return new User($matchingMessage->getUser());
return new User($matchingMessage->getSender());
}

/**
Expand Down Expand Up @@ -191,4 +191,4 @@ public function serializesCallbacks()
{
return false;
}
}
}

0 comments on commit b5ab470

Please sign in to comment.