core: added getLastResource method
This commit is contained in:
parent
dc936be42b
commit
5380b684cd
1 changed files with 40 additions and 0 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue