Skip to content
Snippets Groups Projects
Commit 98d03e28 authored by nkour's avatar nkour
Browse files

[geobert] fix having None as chatstate after recv single message

parent 3355cf4e
No related branches found
No related tags found
No related merge requests found
......@@ -915,6 +915,8 @@ def draw_banner(self, chatstate = None):
chatstate = helpers.get_uf_chatstate(cs)
else:
chatstate = ''
elif chatstate is None:
chatstate = helpers.get_uf_chatstate(cs)
label_text = \
'<span %s>%s</span>%s %s' % \
(font_attrs, name, acct_info, chatstate)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment