Commit 79f71ec0 authored by mathieui's avatar mathieui

starttls: do not send back the feature we receive

I don’t see what a server would do with <required/>
parent 451bee08
......@@ -52,7 +52,7 @@ class FeatureSTARTTLS(BasePlugin):
elif self.xmpp.disable_starttls:
return False
else:
self.xmpp.send(features['starttls'])
self.xmpp.send(stanza.STARTTLS())
return True
async def _handle_starttls_proceed(self, proceed):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment