core: minor style improvments
This commit is contained in:
parent
8f702a5d07
commit
1a958d8744
1 changed files with 6 additions and 13 deletions
|
|
@ -298,7 +298,7 @@ class XEP_0048(object):
|
|||
)
|
||||
xmlui.addText(data.get("name", ""))
|
||||
xmlui.addJid(room_jid)
|
||||
if data.get("autojoin", "false") == "true":
|
||||
if C.bool(data.get("autojoin", C.BOOL_FALSE)):
|
||||
xmlui.addText("autojoin")
|
||||
else:
|
||||
xmlui.addEmpty()
|
||||
|
|
|
|||
Loading…
Reference in a new issue