core (memory): entities cache improvments:
- entities cache is no more limited to bare jid
- resources are now automatically updated in bare jid cache
This commit is contained in:
parent
2dcca42c19
commit
382d49a628
1 changed files with 118 additions and 70 deletions
|
|
@ -161,8 +161,8 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
def getParamsUI(self, security_limit=-1, app='', profile_key="@DEFAULT@", callback=None, errback=None):
|
||||
return unicode(self.db_core_iface.getParamsUI(security_limit, app, profile_key, reply_handler=callback, error_handler=lambda err:errback(err._dbus_error_name[len(const_ERROR_PREFIX)+1:])))
|
||||
|
||||
def getPresenceStatus(self, profile_key="@DEFAULT@"):
|
||||
return self.db_core_iface.getPresenceStatus(profile_key)
|
||||
def getPresenceStatuses(self, profile_key="@DEFAULT@"):
|
||||
return self.db_core_iface.getPresenceStatuses(profile_key)
|
||||
|
||||
def getProfileName(self, profile_key="@DEFAULT@"):
|
||||
return unicode(self.db_core_iface.getProfileName(profile_key))
|
||||
|
|
|
|||
Loading…
Reference in a new issue