Mercurial > libervia-backend
view sat/plugins/__init__.py @ 3219:2ba602aef90e
plugin attach, aesgcm: attachments refactoring:
attachment handling has been simplified, and now use a "register" method similar as the
ones used for download or upload.
A default method (for unencrypted messages) will try a simple upload and will copy the
links to body.
AESGCM plugin has been adapted to be used for encrypted files. If more than one file is
sent with AESGCM plugin, they will be split in several messages as current de-facto
standard (OMEMO media sharing) doesn't support several files per message.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 18 Mar 2020 20:25:02 +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()