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.
This commit is contained in:
Goffi 2018-05-11 17:11:47 +02:00
commit 515add5c7e

View file

@ -145,7 +145,7 @@ class XEP_0054(object):
# 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)