Clean a new bunch of stuf
This commit is contained in:
@@ -64,5 +64,4 @@ class FeatureBind(BasePlugin):
|
||||
if 'session' not in self.features['features']:
|
||||
log.debug("Established Session")
|
||||
self.xmpp.sessionstarted = True
|
||||
self.xmpp.session_started_event.set()
|
||||
self.xmpp.event('session_start')
|
||||
|
||||
@@ -196,7 +196,7 @@ class FeatureMechanisms(BasePlugin):
|
||||
self.attempted_mechs.add(self.mech.name)
|
||||
self.xmpp.disconnect()
|
||||
else:
|
||||
resp.send(now=True)
|
||||
resp.send()
|
||||
|
||||
return True
|
||||
|
||||
@@ -217,7 +217,7 @@ class FeatureMechanisms(BasePlugin):
|
||||
else:
|
||||
if resp.get_value() == '':
|
||||
resp.del_value()
|
||||
resp.send(now=True)
|
||||
resp.send()
|
||||
|
||||
def _handle_success(self, stanza):
|
||||
"""SASL authentication succeeded. Restart the stream."""
|
||||
|
||||
@@ -51,5 +51,4 @@ class FeatureSession(BasePlugin):
|
||||
|
||||
log.debug("Established Session")
|
||||
self.xmpp.sessionstarted = True
|
||||
self.xmpp.session_started_event.set()
|
||||
self.xmpp.event('session_start')
|
||||
|
||||
@@ -55,7 +55,7 @@ class FeatureSTARTTLS(BasePlugin):
|
||||
elif self.xmpp.disable_starttls:
|
||||
return False
|
||||
else:
|
||||
self.xmpp.send(features['starttls'], now=True)
|
||||
self.xmpp.send(features['starttls'])
|
||||
return True
|
||||
|
||||
def _handle_starttls_proceed(self, proceed):
|
||||
|
||||
Reference in New Issue
Block a user