Swap to SleekXMPP-FS, a fork built specifically for sucks
This fork of SleekXMPP disables certificate validation to work around #62 and #45 This fix should be seen as a temporary hack until we figure out a long term solution.
This commit is contained in:
@@ -63,7 +63,7 @@ setup(
|
||||
# https://packaging.python.org/en/latest/requirements.html
|
||||
|
||||
install_requires=[
|
||||
'sleekxmpp>=1.3',
|
||||
'sleekxmppfs>=1.3.4',
|
||||
'click>=6',
|
||||
'requests>=2.18',
|
||||
'pycryptodome>=3.4',
|
||||
|
||||
+3
-3
@@ -7,9 +7,9 @@ from threading import Event
|
||||
|
||||
import requests
|
||||
import stringcase
|
||||
from sleekxmpp import ClientXMPP, Callback, MatchXPath
|
||||
from sleekxmpp.xmlstream import ET
|
||||
from sleekxmpp.exceptions import XMPPError
|
||||
from sleekxmppfs import ClientXMPP, Callback, MatchXPath
|
||||
from sleekxmppfs.xmlstream import ET
|
||||
from sleekxmppfs.exceptions import XMPPError
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user