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

Correctly implement Mediated Invitation Protocol invitation request #31

Merged
merged 2 commits into from
Sep 13, 2014

Conversation

mkonecny
Copy link
Contributor

http://xmpp.org/extensions/xep-0045.html#invite-mediated

-Ensures the invitation message type is "normal" as required by the official spec.

if stanza.kind_of? Message
stanza.type = to ? :chat : :groupchat
if invite

Choose a reason for hiding this comment

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

Use 2 (not 4) spaces for indentation.

@coderhs
Copy link
Member

coderhs commented Jul 17, 2014

@mkonecny Hey can you make the changes pointed out by houndci

coderhs added a commit that referenced this pull request Sep 13, 2014
Correctly implement Mediated Invitation Protocol invitation request
@coderhs coderhs merged commit dae0f84 into xmpp4r:master Sep 13, 2014
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.

3 participants