Mercurial > libervia-backend
diff src/plugins/plugin_xep_0047.py @ 1341:6dbeb2ef966c frontends_multi_profiles
plugin XEP-0054: "nick" is now keeped in cache:
- cache now manage different kind of data (instead of only avatar)
- PeristentBinaryDict is used to keep cache (because we now store a dict, not just strings)
- CACHED_DATA is a set of data kept in cache (only nick and avatar so far)
- a signal update flag is put on "nick"
- data in cache are reset if they are not present in cache (this avoid to keep the old value)
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 24 Feb 2015 17:01:33 +0100 |
parents | 301b342c697a |
children | 069ad98b360d |