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
path: root/src
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2006-10-10 21:33:53 +0400
committerYann Leboulanger <asterix@lagaule.org>2006-10-10 21:33:53 +0400
commit78f27533b6290d1b7f29d7f4bb643f9d11ff7534 (patch)
tree30f4c129bdf50e8c1a6e121bdf9ae895250b8559 /src
parent713d523344415e8a22647201b73325f49dcb9069 (diff)
remove a test that breaks Gajim, Nikos, look at what you wanted to do.
And fix a func name too
Diffstat (limited to 'src')
-rw-r--r--src/roster_window.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/roster_window.py b/src/roster_window.py
index 413247307..881ce56aa 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -222,8 +222,6 @@ class RosterWindow:
if jid == gajim.get_jid_from_account(account):
self.add_self_contact(account)
return
- if contact.sub != 'from':
- return
if gajim.jid_is_transport(contact.jid):
# if jid is transport, check if we wanna show it in roster
if not gajim.config.get('show_transports_group'):
@@ -396,7 +394,7 @@ class RosterWindow:
gajim.to_be_removed[account].remove(contact.jid)
- hide = contact.is_hidden_in_roster()
+ hide = contact.is_hidden_from_roster()
showOffline = gajim.config.get('showoffline')
if (contact.show in ('offline', 'error') or hide) and \