diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-06-13 16:06:48 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-06-13 16:06:48 +0000 |
commit | a7fabb9944329f79481157965bce02ffcbdf848f (patch) | |
tree | 0a4375875172f5b6255cde98929b2da1e73e4558 /src | |
parent | a35866ba8d0ea2959133331f41ddfad8ef74e23f (diff) | |
download | poezio-a7fabb9944329f79481157965bce02ffcbdf848f.tar.gz poezio-a7fabb9944329f79481157965bce02ffcbdf848f.tar.bz2 poezio-a7fabb9944329f79481157965bce02ffcbdf848f.tar.xz poezio-a7fabb9944329f79481157965bce02ffcbdf848f.zip |
ENCODING ERROR ♥♥ on /topic command, fixed
Diffstat (limited to 'src')
-rw-r--r-- | src/gui.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -358,8 +358,6 @@ class Gui(object): Display the presence on the room window and update the presence information of the concerned user """ - if len(sys.argv) > 1: - self.information(str(stanza)) from_nick = stanza.getFrom().getResource() from_room = stanza.getFrom().getStripped() room = self.get_room_by_name(from_room) @@ -785,7 +783,7 @@ class Gui(object): """ room = self.current_room() if len(args) == 0: - self.add_message_to_room(room, _("The subject of the room is: %s") % room.topic) + self.add_message_to_room(room, _("The subject of the room is: %s") % room.topic.decode('utf-8')) subject = ' '.join(args) if not room.joined or room.name == "Info": return |