primitivus: display chat states (with symbols) for MUC participants

This commit is contained in:
souliane 2014-03-17 13:24:55 +01:00
commit 67d15eb488

View file

@ -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