Age | Commit message (Collapse) | Author |
|
Fixes issue #105
|
|
Instead of using:
ClientXMPP(jid, password, plugin_config={
'feature_mechanisms': {'use_mech': 'SOME-MECH'}})
You can use:
ClientXMPP(jid, password, sasl_mech='SOME-MECH')
If you need to change the mechanism after instantiation, use:
xmpp['feature_mechanisms'].sasl.mech = 'SCRAM-MD5'
|
|
|
|
Fixes issue #103
|
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
|
|
|