Skip to content

Commit

Permalink
Rejects if no sender agent for trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Dec 21, 2017
1 parent f8785ae commit 507cfa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rocketchat-livechat/app/client/lib/triggers.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ function getAgent(triggerAction) {
resolve({
username: params.name
});
} else {
reject('Unknown sender');
}
});
}
Expand Down

0 comments on commit 507cfa4

Please sign in to comment.