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
This commit is contained in:
parent
f61f83dfea
commit
af4545070b
1 changed files with 73 additions and 5 deletions
|
|
@ -150,6 +150,9 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue