MUC update to follow wokkel's MUC branch update

- bridge methods have been updated (API change)
- plugin XEP-0045 has been updated
This commit is contained in:
Goffi 2011-10-08 18:43:17 +02:00
commit b7b7c60e33

View file

@ -59,14 +59,16 @@ class DBusBridgeFrontend(BridgeFrontend):
##METHODS_PART##
#methods from plugins
def getRoomJoined(self, profile_key='@DEFAULT@'):
return self.db_plugin_iface.getRoomJoined(profile_key)
def getRoomsJoined(self, profile_key='@DEFAULT@'):
return self.db_plugin_iface.getRoomsJoined(profile_key)
def getRoomSubjects(self, profile_key='@DEFAULT@'):
return self.db_plugin_iface.getRoomSubjects(profile_key)
def getRoomsSubjectss(self, profile_key='@DEFAULT@'):
return self.db_plugin_iface.getRoomsSubjectss(profile_key)
def joinMUC(self, service, roomId, nick, profile_key='@DEFAULT@'):
return self.db_plugin_iface.joinMUC(service, roomId, nick, profile_key)
def joinMUC(self, room_jid, nick, options, profile_key='@DEFAULT@'):
if options == None:
options = [('', '')] #XXX: we have to do this awful hack because python dbus need to guess the signature
return self.db_plugin_iface.joinMUC(room_jid, nick, options, profile_key)
def tarotGameLaunch(self, players, profile_key='@DEFAULT@'):
return self.db_plugin_iface.tarotGameLaunch(players, profile_key)