Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/attach: more robust check for a successful bind
<bind> is not necessarily the first child element of <success> (it isn't in the XML returned from Prosody 0.8). Therefore, to robustly check if a bind succeeded, we must check *all* the children of <success> for a <bind> element.
- Loading branch information