comparison frontends/src/primitivus/keys.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 e3a9ea76de35
children 069ad98b360d
comparison
equal deleted inserted replaced
1340:91e72da1d093 1341:6dbeb2ef966c