diff frontends/src/bridge/DBus.py @ 320:5fc5e6a7e5c3

plugin Tarot: added a launch method to automatically create a new room, invite players and create the game - xep-0249 (direct MUC invitation) is used with a custom attribute to invite other users - bridge: added tarotGameLaunch in frontend side
author Goffi <goffi@goffi.org>
date Fri, 06 May 2011 15:42:26 +0200
parents 58d2f0c6b595
children 953536246d9d
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Fri May 06 15:38:32 2011 +0200
+++ b/frontends/src/bridge/DBus.py	Fri May 06 15:42:26 2011 +0200
@@ -150,6 +150,9 @@
     def joinMUC(self, service, roomId, nick, profile_key='@DEFAULT@'):
         return self.db_comm_iface.joinMUC(service, roomId, nick, profile_key)
 
+    def tarotGameLaunch(self, players, profile_key='@DEFAULT@'):
+        return self.db_comm_iface.tarotGameLaunch(players, profile_key)
+    
     def tarotGameCreate(self, room_jid, players, profile_key='@DEFAULT@'):
         return self.db_comm_iface.tarotGameCreate(room_jid, players, profile_key)