Skip to content

Commit 4a7d06a

Browse files
gaaffrenck
authored andcommitted
Update slixmpp to 1.10.0 (home-assistant#149374)
1 parent cd800da commit 4a7d06a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

homeassistant/components/xmpp/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"iot_class": "cloud_push",
77
"loggers": ["pyasn1", "slixmpp"],
88
"quality_scale": "legacy",
9-
"requirements": ["slixmpp==1.8.5", "emoji==2.8.0"]
9+
"requirements": ["slixmpp==1.10.0", "emoji==2.8.0"]
1010
}

homeassistant/components/xmpp/notify.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ def __init__(self):
144144

145145
self.loop = hass.loop
146146

147-
self.force_starttls = use_tls
147+
self.enable_starttls = use_tls
148+
self.enable_direct_tls = use_tls
148149
self.use_ipv6 = False
149150
self.add_event_handler("failed_all_auth", self.disconnect_on_login_fail)
150151
self.add_event_handler("session_start", self.start)
@@ -163,7 +164,7 @@ def __init__(self):
163164
self.register_plugin("xep_0128") # Service Discovery
164165
self.register_plugin("xep_0363") # HTTP upload
165166

166-
self.connect(force_starttls=self.force_starttls, use_ssl=False)
167+
self.connect()
167168

168169
async def start(self, event):
169170
"""Start the communication and sends the message."""

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)