Skip to content

Commit

Permalink
Merge c3bf459 into 9f9e28e
Browse files Browse the repository at this point in the history
  • Loading branch information
mbland committed Jan 27, 2017
2 parents 9f9e28e + c3bf459 commit aea3cee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Expand Up @@ -34,6 +34,7 @@
"camelcase": [
2,
{ "properties": "always" }
]
],
"keyword-spacing": [ 2 ]
}
}
2 changes: 1 addition & 1 deletion lib/reaction-issue-filer.js
Expand Up @@ -27,7 +27,7 @@ ReactionIssueFiler.prototype.parseMetadata = function(getReactionsResponse,

ReactionIssueFiler.prototype.execute = function(message) {
// Ignore direct messages
if(message.item.channel[0] === 'D') {
if (message.item.channel[0] === 'D') {
return Promise.reject();
}

Expand Down
2 changes: 1 addition & 1 deletion lib/slack-rtm-data-store.js
Expand Up @@ -14,7 +14,7 @@ SlackRtmDataStore.prototype.teamId = function() {
SlackRtmDataStore.prototype.channelById = function(channelId) {
// Public channels are in the channels list, while private
// channels are in the groups list.
if(channelId[0] === 'C') {
if (channelId[0] === 'C') {
return Promise.resolve(this.rtmClient.dataStore.getChannelById(channelId));
} else {
return Promise.resolve(this.rtmClient.dataStore.getGroupById(channelId));
Expand Down

0 comments on commit aea3cee

Please sign in to comment.