Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/helpers.py')
-rw-r--r--src/common/helpers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/helpers.py b/src/common/helpers.py
index 11d50e4aa..d354ee0e0 100644
--- a/src/common/helpers.py
+++ b/src/common/helpers.py
@@ -620,6 +620,8 @@ def get_icon_name_to_show(contact, account = None):
transport = gajim.get_transport_name_from_jid(contact.jid)
if transport:
return contact.show
+ if contact.show in gajim.SHOW_LIST:
+ return contact.show
return 'not in roster'
def decode_string(string):