diff options
author | Georg Lukas <georg@op-co.de> | 2020-03-28 21:18:13 +0100 |
---|---|---|
committer | Georg Lukas <georg@op-co.de> | 2020-03-28 21:49:18 +0100 |
commit | 85c9967b9ce55fd6ea1e2aa59cf065710568661f (patch) | |
tree | a6cbf05ddfca98324cefd7963812d8a63227583d /docs/getting_started/echobot.rst | |
parent | deb6d4f1768600866390133ea083f912ae75642b (diff) | |
download | slixmpp-85c9967b9ce55fd6ea1e2aa59cf065710568661f.tar.gz slixmpp-85c9967b9ce55fd6ea1e2aa59cf065710568661f.tar.bz2 slixmpp-85c9967b9ce55fd6ea1e2aa59cf065710568661f.tar.xz slixmpp-85c9967b9ce55fd6ea1e2aa59cf065710568661f.zip |
XEP-0198: fix race conditions on enable/resume
This code splits out the `enabled` property into `enabled_in` and
`enabled_out` to reflect that client and server enable 0198
asynchronously.
This also moves the actual enabling code into the stanza processing
logic, because apparently, `enable.send()` was just added into the end
of the send queue, but `enable` got enabled immediately, so that poezio
requested ACKs for whatever happened to be in the queue before.
Async is hard, let's go get fishing.
Diffstat (limited to 'docs/getting_started/echobot.rst')
0 files changed, 0 insertions, 0 deletions