Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check event.user is not null #10

Merged
merged 1 commit into from
Sep 16, 2017
Merged

Commits on Aug 17, 2017

  1. Fixes botpress#10:

    I'm moving up the line that checks if the event type is a message. This is because where it is now, it first tries to shortUserId with event.user.id and there is a possiblity that evet.user is undefined (e.g when we have botpress-webhooks installed and the webhook is triggered).
    Federico Martín Alconada Verzini committed Aug 17, 2017
    Configuration menu
    Copy the full SHA
    ffd5090 View commit details
    Browse the repository at this point in the history