Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Add party-line XMPP relay script #1370

Closed
wants to merge 1 commit into from
Closed

Add party-line XMPP relay script #1370

wants to merge 1 commit into from

Conversation

farski
Copy link

@farski farski commented Mar 17, 2014

No description provided.

@christhomson
Copy link
Contributor

New scripts aren't being accepted in this repo anymore — see #1113.

@technicalpickles
Copy link
Contributor

As @christhomson said, we are actually moving away from adding scripts to repository in favor of separate npm packages per scripts. See #1113 for details, and let us know if you have any questions about getting going with that!

Xmpp = require 'node-xmpp'

module.exports = (robot) ->
robot.catchAll (msg) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you want robot.hear /(.*)/ here instead. catchAll only gets called if no other listener matches, where as hear /(.*)/ would get everything

@farski
Copy link
Author

farski commented Mar 24, 2014

@technicalpickles I will make that change to hear, thanks. And yes, there is a pull request open I just haven't had a chance to get the new tests for hubot-xmpp done yet, so it's still just waiting in limbo.

xmppjs/hubot-xmpp/pull/65

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

Successfully merging this pull request may close these issues.

None yet

3 participants