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")
def on_cap_new(self, event):
sts = self._get_sts(event["capabilities"])
if sts and event["server"].connection_params.tls:
if CAP.available(event["capabilities"]
) and event["server"].connection_params.tls:
info = utils.parse.keyvalue(sts, delimiter=",")
self.change_duration(event["server"], info)