Mercurial > libervia-backend
view sat/plugins/__init__.py @ 3213:c2f958dde5d2
plugin XEP-0060: async sendItems + precondition-not-met policy:
- sendItems is now an "async" coroutine, and sendItem use it instead of duplicating
publication logic
- policy to use when a precondition is not met (with publish-options) can now be
specified, for now it's either raise the exception (default policy), or try to publish
without the options
- constants have been added to handle "extra" keys
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 11 Mar 2020 19:15:48 +0100 |
parents | f7deb1c36b47 |
children | 11003f9f92fb |
line wrap: on
line source
# XXX: the Monkey Patch is here and not in src/__init__ to avoir issues with pyjamas compilation # TODO: remove this when changes are merged in Wokkel from sat_tmp.wokkel import install install()