summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0198
AgeCommit message (Collapse)Author
2021-02-05global: rewrite copyright notice to use commentsmathieui
2021-01-29XEP-0198: do not send acks when disconnectedmathieui
2021-01-29XEP-0198: Enable SM even if we failed resuming the sessionmathieui
And trigger session_end only after we fail the resuming.
2020-03-29XEP-0198: unset end_session_on_disconnect on resume/enableGeorg Lukas
2020-03-28XEP-0198: fix race conditions on enable/resumeGeorg Lukas
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.
2020-03-28XEP-0198: properly disable on disconnect, fix reconnect-loopGeorg Lukas
When the connection is disconnected (but the session didn't "end", because 0198 resumption is enabled), poezio will reconnect and try to send an <r/> element because the 0198 plugin doesn't realize that SM wasn't re-enabled yet.
2018-07-01Switch from @asyncio.coroutine to async def everywhere.Emmanuel Gil Peyrot
2016-10-22sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.pyEmmanuel Gil Peyrot
2016-09-20ElementBase: Remove deprecated find() and findall() methods.discoEmmanuel Gil Peyrot
2016-06-04Update XEP-0198 for asynciomathieui
2014-07-21Clean a new bunch of stufFlorent Le Coz
2014-07-17Rename to slixmppFlorent Le Coz