self._get_sts no longer exists

This commit is contained in:
jesopo 2019-06-08 07:57:44 +01:00
parent 3a2404d1c9
commit d9321b87ec

View file

@ -44,8 +44,8 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.cap.new") @utils.hook("received.cap.new")
def on_cap_new(self, event): def on_cap_new(self, event):
sts = self._get_sts(event["capabilities"]) if CAP.available(event["capabilities"]
if sts and event["server"].connection_params.tls: ) and event["server"].connection_params.tls:
info = utils.parse.keyvalue(sts, delimiter=",") info = utils.parse.keyvalue(sts, delimiter=",")
self.change_duration(event["server"], info) self.change_duration(event["server"], info)