correctly decode group names

This commit is contained in:
Yann Leboulanger 2011-12-18 10:47:48 +01:00
parent a0aa52adc9
commit cdb4fc9597

View file

@ -1654,8 +1654,8 @@ class RosterWindow:
if type2 == 'self_contact':
return 1
if type1 == 'group':
name1 = model[iter1][C_JID]
name2 = model[iter2][C_JID]
name1 = model[iter1][C_JID].decode('utf-8')
name2 = model[iter2][C_JID].decode('utf-8')
if name1 == _('Transports'):
return 1
if name2 == _('Transports'):