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

Revert "Fix broken private messages, and increase code coverage" #60

Closed
wants to merge 1 commit into from

Conversation

ShaunParsons
Copy link

@ShaunParsons ShaunParsons commented Jan 29, 2019

Reverts #44

sendPrivate is not part of the Hubot API, tests pass because it exists in hubot-test-helper.

Copy link
Contributor

@therealklanni therealklanni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ShaunParsons
Copy link
Author

@therealklanni any chance we can get this merged? coverage/coveralls is obviously failing because we're removing tests.

return msg.sendPrivate(emit)
if (replyInPrivate && msg.message && msg.message.user && msg.message.user.name && msg.message.user.name !== msg.message.room) {
msg.reply('replied to you in private!')
return robot.send({ room: msg.message.user.name }, emit)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be msg.message.user.id not name.

@joeyguerra
Copy link
Member

Can you resolve the conflicts and make the suggested change RE: user id? If not, I can make another PR with the fix.

@joeyguerra
Copy link
Member

Due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants