show all incoming chatstate, even if we send only composing.

This commit is contained in:
Yann Leboulanger 2006-09-13 07:20:49 +00:00
parent ab9b5a3210
commit a3a91eada6
1 changed files with 7 additions and 7 deletions

View File

@ -1042,9 +1042,9 @@ class ChatControl(ChatControlBase):
if cs and st in ('composing_only', 'all'):
if contact.show == 'offline':
chatstate = ''
elif st == 'all' and contact.composing_jep == 'JEP-0085':
elif contact.composing_jep == 'JEP-0085':
chatstate = helpers.get_uf_chatstate(cs)
elif st == 'composing_only' or contact.composing_jep == 'JEP-0022':
elif contact.composing_jep == 'JEP-0022':
if cs in ('composing', 'paused'):
# only print composing, paused
chatstate = helpers.get_uf_chatstate(cs)