diff options
author | mathieui <mathieui@mathieui.net> | 2013-02-03 23:31:27 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-02-03 23:55:13 +0100 |
commit | 27d85a0961f7aad312538213f68862e2db09726b (patch) | |
tree | 2cc8a1cf8bf61d09d1d21b6a20e2ac2dab4931a0 /src/roster.py | |
parent | a76b016f953b9a3e670d7c186403fa059ecb1d0a (diff) | |
download | poezio-27d85a0961f7aad312538213f68862e2db09726b.tar.gz poezio-27d85a0961f7aad312538213f68862e2db09726b.tar.bz2 poezio-27d85a0961f7aad312538213f68862e2db09726b.tar.xz poezio-27d85a0961f7aad312538213f68862e2db09726b.zip |
Fix the folding of contacts in multiple groups
(add a defaultdict to keep the folded state in each group)
Diffstat (limited to 'src/roster.py')
-rw-r--r-- | src/roster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster.py b/src/roster.py index a3741f82..67e81da9 100644 --- a/src/roster.py +++ b/src/roster.py @@ -188,7 +188,7 @@ class Roster(object): len(contact) == 0: continue length += 1 # One for the contact's line - if not contact.folded: + if not contact.folded(group.name): # One for each resource, if the contact is unfolded length += len(contact) if not self.contact_filter or before != length: |