Do a SASL reauthentication when we get CAP NEW
for SASL (sasl)
This commit is contained in:
parent
42e2596c9b
commit
697ce2ba30
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
event["server"].queue_capability("sasl")
|
event["server"].queue_capability("sasl")
|
||||||
|
|
||||||
@utils.hook("received.cap.ack")
|
@utils.hook("received.cap.ack")
|
||||||
|
@utils.hook("received.cap.new")
|
||||||
def on_cap_ack(self, event):
|
def on_cap_ack(self, event):
|
||||||
if "sasl" in event["capabilities"]:
|
if "sasl" in event["capabilities"]:
|
||||||
sasl = event["server"].get_setting("sasl")
|
sasl = event["server"].get_setting("sasl")
|
||||||
|
|
Loading…
Reference in a new issue