Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0054.py @ 2581:395a3d1c2888
plugin XEP-0045: fixed joining workflow:
- room keep joining workflow state, and display warning when something is received at unexpected moment
- state is change immediatly when subject is received (which must be the last thing before live messages), avoiding timing issue if history storage in database is taking too much time
- user joined/left data are not saved anymore in history as it takes a lot of space for little interest. A future option may allow to re-enable it if needed.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 May 2018 17:11:47 +0200 |
parents | 26edcf3a30eb |
children | 56f94936df1e |
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0054.py Thu May 10 08:34:44 2018 +0200 +++ b/sat/plugins/plugin_xep_0054.py Fri May 11 17:11:47 2018 +0200 @@ -145,7 +145,7 @@ # Hashes should be shared between profiles (or not ? what # if the avatar is different depending on who is requesting it # this is not possible with vcard-tmp, but it is with XEP-0084). - # Loading avatar on demand per jid may be a option to investigate. + # Loading avatar on demand per jid may be an option to investigate. client = self.host.getClient(profile) for jid_s, data in client._cache_0054.iteritems(): jid_ = jid.JID(jid_s)