Ticket #1953: roster_loop.patch

File roster_loop.patch, 0.7 kB (added by dkirov, 3 years ago)
  • src/roster_window.py

     
    239239                # 'priority' is optional 
    240240                family = gajim.contacts.get_metacontacts_family(account, jid) 
    241241 
    242                 shown_family = [] # family members that are in roster. 
     242                # family members that are in roster and belong to the same account. 
     243                shown_family = []  
    243244                if family: 
    244245                        for data in family: 
     246                                _account = data['account'] 
     247                                if _account != account: 
     248                                        continue 
    245249                                _jid = data['jid'] 
    246                                 _account = data['account'] 
     250                                 
    247251                                if self.get_contact_iter(_jid, _account): 
    248252                                        shown_family.append(data) 
    249253                                if _jid == jid: