Age | Commit message (Collapse) | Author |
|
The processing loop was continuing to call __read_xml after </stream>
was received, which caused SyntaxErrors (can't find starting element).
This should fix issue #102
|
|
|
|
|
|
|
|
May be disabled by setting:
self.whitespace_keepalive = False
The keepalive interval can be adjusted using:
self.whitespace_keepalive_interval = 300
The default interval is 5min.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94% coverage for the main pubsub plugin! (91% including stanzas)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We don't really care about empty responses, so let's use block=False.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- item_ids checked for None
- pubsub node is set
|
|
- <default /> doesn't have a type attribute in the XEP
- <configure /> isn't used anymore for requesting default configuration
|
|
iq['error']['pubsub']['condition']
iq['error']['pubsub']['unsupported']
|
|
To use:
sudo pip install tox
tox
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Still need tests and docs.
|
|
|
|
|
|
|
|
|