core: added getLastResource method

This commit is contained in:
Goffi 2011-10-06 21:16:03 +02:00
commit 5380b684cd

View file

@ -92,6 +92,9 @@ class DBusBridgeFrontend(BridgeFrontend):
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))