Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_chat.py @ 685:0b9bd47dffcd
primitivus, wix: auto-display MUC dialog after it has been joined:
- a patch will follow to add a parameter for the user to choose between "always open", "never open" and "ask each time".
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 28 Oct 2013 18:29:34 +0100 |
parents | ffb716804580 |
children | f7878ad3c846 |
comparison
equal
deleted
inserted
replaced
684:969562c4761b | 685:0b9bd47dffcd |
---|---|
139 normal: general info like "toto has joined the room" | 139 normal: general info like "toto has joined the room" |
140 me: "/me" information like "/me clenches his fist" ==> "toto clenches his fist" | 140 me: "/me" information like "/me clenches his fist" ==> "toto clenches his fist" |
141 """ | 141 """ |
142 raise NotImplementedError | 142 raise NotImplementedError |
143 | 143 |
144 | |
145 def startGame(self, game_type, referee, players): | 144 def startGame(self, game_type, referee, players): |
146 """Configure the chat window to start a game""" | 145 """Configure the chat window to start a game""" |
147 #No need to raise an error as game are not mandatory | 146 #No need to raise an error as game are not mandatory |
148 warning(_('startGame is not implemented in this frontend')) | 147 warning(_('startGame is not implemented in this frontend')) |
149 | 148 |
150 def getGame(self, game_type): | 149 def getGame(self, game_type): |
151 """Return class managing the game type""" | 150 """Return class managing the game type""" |
152 #No need to raise an error as game are not mandatory | 151 #No need to raise an error as game are not mandatory |
153 warning(_('getGame is not implemented in this frontend')) | 152 warning(_('getGame is not implemented in this frontend')) |
153 |