diff options
Diffstat (limited to 'examples/custom_stanzas')
-rwxr-xr-x | examples/custom_stanzas/custom_stanza_provider.py | 7 | ||||
-rwxr-xr-x | examples/custom_stanzas/custom_stanza_user.py | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/examples/custom_stanzas/custom_stanza_provider.py b/examples/custom_stanzas/custom_stanza_provider.py index cfc8335d..fc04bdd4 100755 --- a/examples/custom_stanzas/custom_stanza_provider.py +++ b/examples/custom_stanzas/custom_stanza_provider.py @@ -135,13 +135,6 @@ if __name__ == '__main__': xmpp.register_plugin('xep_0050') # Adhoc Commands xmpp.register_plugin('xep_0199', {'keepalive': True, 'frequency':15}) - # If you are working with an OpenFire server, you may need - # to adjust the SSL version used: - # xmpp.ssl_version = ssl.PROTOCOL_SSLv3 - - # If you want to verify the SSL certificates offered by a server: - # xmpp.ca_certs = "path/to/ca/cert" - # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() xmpp.process() diff --git a/examples/custom_stanzas/custom_stanza_user.py b/examples/custom_stanzas/custom_stanza_user.py index 891eb72b..95837106 100755 --- a/examples/custom_stanzas/custom_stanza_user.py +++ b/examples/custom_stanzas/custom_stanza_user.py @@ -142,13 +142,6 @@ if __name__ == '__main__': xmpp.register_plugin('xep_0004') # Data Forms xmpp.register_plugin('xep_0050') # Adhoc Commands - # If you are working with an OpenFire server, you may need - # to adjust the SSL version used: - # xmpp.ssl_version = ssl.PROTOCOL_SSLv3 - - # If you want to verify the SSL certificates offered by a server: - # xmpp.ca_certs = "path/to/ca/cert" - # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() xmpp.process() |