primitivus: display chat states (with symbols) for MUC participants
This commit is contained in:
parent
73b374f6fc
commit
67d15eb488
1 changed files with 80 additions and 41 deletions
|
|
@ -153,3 +153,12 @@ class QuickChat(object):
|
|||
#No need to raise an error as game are not mandatory
|
||||
warning(_('getGame is not implemented in this frontend'))
|
||||
|
||||
def updateChatState(self, state, nick=None):
|
||||
"""Set the chat state (XEP-0085) of the contact. Leave nick to None
|
||||
to set the state for a one2one conversation, or give a nickname or
|
||||
Const.ALL_OCCUPANTS to set the state of a participant within a MUC.
|
||||
@param state: the new chat state
|
||||
@param nick: None for one2one, the MUC user nick or ALL_OCCUPANTS
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue