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

join room on invitation #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rbrcurtis
Copy link

No description provided.

@markstory markstory added this to the 0.2.x milestone Aug 9, 2016
@@ -151,6 +151,12 @@ class XmppBot extends Adapter
@client.send pong

readMessage: (stanza) =>

if x = stanza.getChild('x', 'jabber:x:conference') and x?.attrs?
Copy link
Contributor

Choose a reason for hiding this comment

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

Could tests be added as well?

Copy link
Author

Choose a reason for hiding this comment

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

Done.

@@ -151,6 +151,12 @@ class XmppBot extends Adapter
@client.send pong

readMessage: (stanza) =>

if (x = stanza.getChild('x', 'jabber:x:conference')) and x?.attrs?
@robot.logger.debug '[joining room]', x.attrs
Copy link
Contributor

Choose a reason for hiding this comment

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

What is in x.attrs are there password that shouldn't go into logs?

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

Successfully merging this pull request may close these issues.

None yet

2 participants