61a1558
icky XPath/namespace parsing is now Blather-native
Click to expand commit body
We used to catch all iq stanzas and do our own checks to see if they
matched the element name and namespace we were looking for. Something
like this:
```
query_node = i.children.find { |v| v.element_name == "query" }
if query_node.namespace.href ==
'http://jabber.org/protocol/disco#items'
...
```
But singpolyma pointed out that this isn't necessary. So now we use
Blather-native message filtering, and things are much prettier. And,
more importantly, they are also much more correct.
This diff is fairly small because the largest blocks remain the same
(with the same indentation). Smaller blocks were moved, de-indented.
Denver Gingerich
created
7458aa5
implement fallback correctly; incorrect in 77c28c9
Denver Gingerich
created
44ff0f0
instruction fix for 4a31c60; names now non-obvious
Denver Gingerich
created
4a31c60
update form names to match XEP-0077 - Section 14.1
Denver Gingerich
created
78af96f
print out registration values; next step: use them
Denver Gingerich
created
22e1bd5
add reg form (Psi/others need it), reply w success
Denver Gingerich
created
8d16ce8
add description of what this actually is to README
Denver Gingerich
created
77c28c9
add license, Gemfile, and technically-correct code
Denver Gingerich
created
077826a
and update the location of the README accordingly
Denver Gingerich
created
2e58b93
update README so it uses better markup than GitHub