starttls: do not send back the feature we receive
I don’t see what a server would do with <required/>
This commit is contained in:
parent
451bee0892
commit
79f71ec0c1
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class FeatureSTARTTLS(BasePlugin):
|
||||||
elif self.xmpp.disable_starttls:
|
elif self.xmpp.disable_starttls:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
self.xmpp.send(features['starttls'])
|
self.xmpp.send(stanza.STARTTLS())
|
||||||
return True
|
return True
|
||||||
|
|
||||||
async def _handle_starttls_proceed(self, proceed):
|
async def _handle_starttls_proceed(self, proceed):
|
||||||
|
|
Loading…
Reference in a new issue