comparison sat/plugins/plugin_xep_0048.py @ 2879:5ba98fd6c9a4

core: minor style improvments
author Goffi <goffi@goffi.org>
date Wed, 27 Mar 2019 21:15:25 +0100
parents 003b8b4b56a7
children 8990ed9aad31
comparison
equal deleted inserted replaced
2878:a02ad4bc0a6d 2879:5ba98fd6c9a4
296 adv_list.setRowIndex( 296 adv_list.setRowIndex(
297 u"%s %s" % (room_jid_s, data.get("nick") or client.jid.user) 297 u"%s %s" % (room_jid_s, data.get("nick") or client.jid.user)
298 ) 298 )
299 xmlui.addText(data.get("name", "")) 299 xmlui.addText(data.get("name", ""))
300 xmlui.addJid(room_jid) 300 xmlui.addJid(room_jid)
301 if data.get("autojoin", "false") == "true": 301 if C.bool(data.get("autojoin", C.BOOL_FALSE)):
302 xmlui.addText("autojoin") 302 xmlui.addText("autojoin")
303 else: 303 else:
304 xmlui.addEmpty() 304 xmlui.addEmpty()
305 adv_list.end() 305 adv_list.end()
306 xmlui.addDivider("dash") 306 xmlui.addDivider("dash")