[geobert] fix having None as chatstate after recv single message
This commit is contained in:
parent
3355cf4ea3
commit
98d03e2855
|
@ -915,6 +915,8 @@ class ChatControl(ChatControlBase):
|
||||||
chatstate = helpers.get_uf_chatstate(cs)
|
chatstate = helpers.get_uf_chatstate(cs)
|
||||||
else:
|
else:
|
||||||
chatstate = ''
|
chatstate = ''
|
||||||
|
elif chatstate is None:
|
||||||
|
chatstate = helpers.get_uf_chatstate(cs)
|
||||||
label_text = \
|
label_text = \
|
||||||
'<span %s>%s</span>%s %s' % \
|
'<span %s>%s</span>%s %s' % \
|
||||||
(font_attrs, name, acct_info, chatstate)
|
(font_attrs, name, acct_info, chatstate)
|
||||||
|
|
Loading…
Reference in New Issue