Mercurial > libervia-backend
view sat/plugins/__init__.py @ 2923:1fd3ecb3351a
plugin XEP-0329: use local part of jid for components:
when used by a component, local part can now be used to specify owner of the file. Local part is escaped using XEP-0106, then:
- if the unescaped text contain a "@", it is used as a jid
- else, a jid is build by using this text and host of the component
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 26 Apr 2019 11:57:26 +0200 |
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()