correctly decode non-ascii chars when looking in roster. Fixes #4496
This commit is contained in:
parent
02230e0607
commit
b00b1ce0f4
|
@ -1417,7 +1417,7 @@ class RosterWindow:
|
|||
##############################################################################
|
||||
|
||||
def _search_roster_func(self, model, column, key, titer):
|
||||
key = gobject.markup_escape_text(key.lower())
|
||||
key = key.decode('utf-8').lower()
|
||||
name = model[titer][C_NAME].decode('utf-8').lower()
|
||||
return not (key in name)
|
||||
|
||||
|
|
Loading…
Reference in New Issue