Download:
parent 5:bbad5ebb65c0
6:eaca36ce092b default tip
Anton Shestakov <av6@dwimlabs.net>, Fri, 23 Aug 2019 22:27:47 +0700
use TLS 1.2 because it's modern, and that's what clients should use

1 файлов изменено, 3 вставок(+), 0 удалений(-) [+]
xmpp-headline.py file | annotate | diff | comparison | revisions
--- a/xmpp-headline.py Mon Feb 04 04:02:28 2019 +0000
+++ b/xmpp-headline.py Fri Aug 23 22:27:47 2019 +0700
@@ -16,6 +16,9 @@
self.add_event_handler('session_start', self.start)
+ import ssl
+ self.ssl_version = ssl.PROTOCOL_TLSv1_2
+
def start(self, event):
print('sending message...')
self.send_message(