Only add a waiting clause for resume
CAP if the server actually ACKs it
(resume.py)
This commit is contained in:
parent
c7d21e2d9e
commit
985f4d60a4
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
@utils.hook("received.cap.ack")
|
||||
def on_cap_ack(self, event):
|
||||
if CAP in event["capabilities"]:
|
||||
event["server"].wait_for_capability("resume")
|
||||
|
||||
@utils.hook("received.resume")
|
||||
|
|
Loading…
Reference in a new issue