Commit a8666e15 authored by Yann Leboulanger's avatar Yann Leboulanger

correctly decode utf-8 names in history window. fixes #3552

parent 31a1f3ef
......@@ -155,7 +155,7 @@ class HistoryWindow:
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
contact = self.completion_dict[self.jid]
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment