Commit c6f72a2b authored by Philipp Hörist's avatar Philipp Hörist

Fix const SHOW_LIST access

parent b6a70eb6
......@@ -663,7 +663,7 @@ def get_icon_name_to_show(contact, account=None):
transport = app.get_transport_name_from_jid(contact.jid)
if transport:
return contact.show
if contact.show in app.SHOW_LIST:
if contact.show in SHOW_LIST:
return contact.show
return 'notinroster'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment