-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add MIXInvite, MIXInvitation and MIXInvitationAck Element #85
base: master
Are you sure you want to change the base?
Conversation
Add UpdateSubscription feature for subscribing to additional MIX nodes Add Joining a channel with a preference form Add requesting user preference form and updating the preferences License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Test-Information: Tests added for joining and leaving a channel as in XEP-0369, which passes. Tests also added for updating subscription, joining channel with preference form and requesting user preference form as in XEP-0369, which passes. Tested on Ubuntu 16.04 LTS. Change-Id: Ibc2737f6154eeee1a85e98cb5f80c8bdbad35dcd
Add elements with their parser and serializers. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Test-Information: Added tests for elements parsers and Serializers based on examples in XEP 0369, which passes. Tested on Ubuntu 16.04 LTS. Change-Id: Ib5bcdee5f02681cecc0c3fd30d19627be483a7c1
|
||
std::string expectedResult = "<invitation-ack xmlns=\"urn:xmpp:mix:0\">" | ||
"<value>Joined</value>" | ||
"<invitation xmlns=\"urn:xmpp:mix:0\">" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since MIXInvitation is required as a payload element (Example 57, 58), I couldn't find a way around this. The namespace with element is required as per example 57.
invite->setInvitation(invitation); | ||
|
||
std::string expectedResult = "<invite xmlns=\"urn:xmpp:mix:0\">" | ||
"<invitation xmlns=\"urn:xmpp:mix:0\">" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since MIXInvitation is required as a payload element (Example 57, 58), I couldn't find a way around this.
No description provided.