summaryrefslogtreecommitdiff
path: root/examples/echo_client.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-08-16 22:37:29 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-09-01 02:47:15 +0200
commit882f984b2622a6e44cce5401b8673760f559f718 (patch)
treee5193703478d41027e074359b47d6835c993000d /examples/echo_client.py
parent6175cbcd99f917b08646d130770a132458056249 (diff)
downloadslixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.gz
slixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.bz2
slixmpp-882f984b2622a6e44cce5401b8673760f559f718.tar.xz
slixmpp-882f984b2622a6e44cce5401b8673760f559f718.zip
Remove (usually) useless comments in examples about OpenFire and how to verify a certificate.
Diffstat (limited to 'examples/echo_client.py')
-rwxr-xr-xexamples/echo_client.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/examples/echo_client.py b/examples/echo_client.py
index de649eb6..1046bd43 100755
--- a/examples/echo_client.py
+++ b/examples/echo_client.py
@@ -111,26 +111,6 @@ if __name__ == '__main__':
xmpp.register_plugin('xep_0060') # PubSub
xmpp.register_plugin('xep_0199') # XMPP Ping
- # If you are connecting to Facebook and wish to use the
- # X-FACEBOOK-PLATFORM authentication mechanism, you will need
- # your API key and an access token. Then you'll set:
- # xmpp.credentials['api_key'] = 'THE_API_KEY'
- # xmpp.credentials['access_token'] = 'THE_ACCESS_TOKEN'
-
- # If you are connecting to MSN, then you will need an
- # access token, and it does not matter what JID you
- # specify other than that the domain is 'messenger.live.com',
- # so '_@messenger.live.com' will work. You can specify
- # the access token as so:
- # xmpp.credentials['access_token'] = 'THE_ACCESS_TOKEN'
-
- # 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()