comparison src/bridge/DBus.py @ 943:71926ec2114d

core (memory): entities cache improvments: - entities cache is no more limited to bare jid - resources are now automatically updated in bare jid cache
author Goffi <goffi@goffi.org>
date Fri, 28 Mar 2014 18:07:17 +0100
parents a9401694d2dc
children 723f28cd15c7
comparison
equal deleted inserted replaced
942:598fc223cf59 943:71926ec2114d
318 return self._callback("getParamsUI", security_limit, unicode(app), unicode(profile_key), callback=callback, errback=errback) 318 return self._callback("getParamsUI", security_limit, unicode(app), unicode(profile_key), callback=callback, errback=errback)
319 319
320 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 320 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
321 in_signature='s', out_signature='a{sa{s(sia{ss})}}', 321 in_signature='s', out_signature='a{sa{s(sia{ss})}}',
322 async_callbacks=None) 322 async_callbacks=None)
323 def getPresenceStatus(self, profile_key="@DEFAULT@"): 323 def getPresenceStatuses(self, profile_key="@DEFAULT@"):
324 return self._callback("getPresenceStatus", unicode(profile_key)) 324 return self._callback("getPresenceStatuses", unicode(profile_key))
325 325
326 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 326 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
327 in_signature='s', out_signature='s', 327 in_signature='s', out_signature='s',
328 async_callbacks=None) 328 async_callbacks=None)
329 def getProfileName(self, profile_key="@DEFAULT@"): 329 def getProfileName(self, profile_key="@DEFAULT@"):