qxmpp
qxmpp copied to clipboard
Added possibility to QXmppServer to route a stanza to a specific resource
Added possibility to QXmppServer to route a stanza to a specific resource without the need to add the resource to the stanza's JID. Closes #7
I updated the pull request (I hope I understood you correctly): I moved the if into routeData (passing the resource through sendElement / sendPacket) and prevent routing if "to" is already a full JID. Please let me know whether you want me to sqash it into a single commit, or if you still have concerns whether you have a better idea to solve this.
@jlaine I rebased (and tested again) the changed I did to the pull request. Unfortunately the rebasing seems to have deleted our comments - sorry for that! I think I moved the decision to the point you wanted it. Can you please recheck and if you still see problems, please let me know what I should change.