Mercurial > libervia-backend
diff frontends/src/bridge/DBus.py @ 399:3ed53803b3b3
core: added getLastResource method
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Oct 2011 21:16:03 +0200 |
parents | e66d300c5d42 |
children | b2caa2615c4c |
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py Wed Oct 05 16:49:57 2011 +0200 +++ b/frontends/src/bridge/DBus.py Thu Oct 06 21:16:03 2011 +0200 @@ -92,6 +92,9 @@ def getHistory(self, from_jid, to_jid, size): return self.db_core_iface.getHistory(from_jid, to_jid, size) + def getLastResource(self, contact_jid, profile_key="@DEFAULT@"): + return unicode(self.db_core_iface.getLastResource(contact_jid, profile_key)) + def getMenuHelp(self, category, name, menu_type): return unicode(self.db_core_iface.getMenuHelp(category, name, menu_type))