Skip to content

Commit

Permalink
Correct issue with exclude_me
Browse files Browse the repository at this point in the history
  • Loading branch information
mbonneau committed Jan 18, 2019
1 parent ddf0ecc commit 694adb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/PublishMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function setOptions($options)
$options = $this->getOptions();

$this->acknowledge = isset($options->acknowledge) && $options->acknowledge === true;
$this->exclude_me = isset($options->exclude_me) && $options->exclude_me === false;
$this->exclude_me = isset($options->exclude_me) && $options->exclude_me === false ? false : true;
$this->exclude = isset($options->exclude) && is_array($options->exclude) ? $options->exclude : [];
$this->eligible = isset($options->eligible) && is_array($options->eligible) ? $options->eligible : null;
$this->eligible_authroles = []; // default to no auth roles eligible
Expand Down

0 comments on commit 694adb0

Please sign in to comment.