Mercurial > libervia-backend
diff src/plugins/plugin_misc_imap.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 | 84d06701f5c4 |
children | 3265a2639182 |