Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_chat.py @ 907:cd02f5ef30df
primitivus: display chat states (with symbols) for MUC participants
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 17 Mar 2014 13:24:55 +0100 |
parents | 084b52afdceb |
children | d1084f7e56a5 |
comparison
equal
deleted
inserted
replaced
906:1cbae66fa725 | 907:cd02f5ef30df |
---|---|
151 def getGame(self, game_type): | 151 def getGame(self, game_type): |
152 """Return class managing the game type""" | 152 """Return class managing the game type""" |
153 #No need to raise an error as game are not mandatory | 153 #No need to raise an error as game are not mandatory |
154 warning(_('getGame is not implemented in this frontend')) | 154 warning(_('getGame is not implemented in this frontend')) |
155 | 155 |
156 def updateChatState(self, state, nick=None): | |
157 """Set the chat state (XEP-0085) of the contact. Leave nick to None | |
158 to set the state for a one2one conversation, or give a nickname or | |
159 Const.ALL_OCCUPANTS to set the state of a participant within a MUC. | |
160 @param state: the new chat state | |
161 @param nick: None for one2one, the MUC user nick or ALL_OCCUPANTS | |
162 """ | |
163 raise NotImplementedError | |
164 |