correctly decode utf-8 names in history window. fixes #3552
This commit is contained in:
parent
31a1f3ef6d
commit
a8666e1508
|
@ -155,7 +155,7 @@ class HistoryWindow:
|
||||||
self.window.destroy()
|
self.window.destroy()
|
||||||
|
|
||||||
def on_jid_entry_activate(self, widget):
|
def on_jid_entry_activate(self, widget):
|
||||||
self.jid = self.jid_entry.get_text()
|
self.jid = self.jid_entry.get_text().decode('utf-8')
|
||||||
|
|
||||||
if self.completion_dict.has_key(self.jid): # a full qualified jid or a contact name was entered
|
if self.completion_dict.has_key(self.jid): # a full qualified jid or a contact name was entered
|
||||||
contact = self.completion_dict[self.jid]
|
contact = self.completion_dict[self.jid]
|
||||||
|
|
Loading…
Reference in New Issue