comparison browser_side/panels.py @ 163:b887186e8fc8

browser side: get entity's microblogs for newly added contacts
author Goffi <goffi@goffi.org>
date Mon, 07 Jan 2013 22:43:50 +0100
parents 8635bc9db9bf
children 9763dec220ed
comparison
equal deleted inserted replaced
162:6ebf7f872a38 163:b887186e8fc8
589 self.accepted_groups.extend(group) 589 self.accepted_groups.extend(group)
590 else: 590 else:
591 self.accepted_groups.append(group) 591 self.accepted_groups.append(group)
592 592
593 def isJidAccepted(self, jid): 593 def isJidAccepted(self, jid):
594 """Tell if a jid is actepted and show in this panel 594 """Tell if a jid is actepted and shown in this panel
595 @param jid: jid 595 @param jid: jid
596 @return: True if the jid is accepted""" 596 @return: True if the jid is accepted"""
597 if self.accept_all(): 597 if self.accept_all():
598 return True 598 return True
599 for group in self.accepted_groups: 599 for group in self.accepted_groups: