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:
authorYann Leboulanger <asterix@lagaule.org>2008-08-12 10:31:32 +0400
committerYann Leboulanger <asterix@lagaule.org>2008-08-12 10:31:32 +0400
commitc619f59b8486a0571ba1cc93f9723886c78037ce (patch)
treed558ff993513f63de72a8fa14e3c4ef899436c87
parentbf9ca5e24a0f7a509b8683abf4556cfcb93f9068 (diff)
show status of not in roster contacts in roster. Fixes #4144
-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):