Skip to content

Commit

Permalink
Merge branch 'master' of github.com:botman/driver-slack
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Feb 4, 2018
2 parents 764c8bc + 5168fb4 commit 2a2337b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Providers/SlackServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function boot()
$this->mergeConfigFrom(__DIR__.'/../../stubs/slack.php', 'botman.slack');

$this->commands([
SlackRTMListenCommand::class
SlackRTMListenCommand::class,
]);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/SlackRTMDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function buildServicePayload($message, $matchingMessage, $additionalParam
],
]);

// else check if is a path
// else check if is a path
} elseif ($attachment instanceof BotManFile && file_exists($attachment->getUrl())) {
$this->file = (new File())
->setTitle(basename($attachment->getUrl()))
Expand Down

0 comments on commit 2a2337b

Please sign in to comment.