summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-05-28 23:51:58 +0200
committermathieui <mathieui@mathieui.net>2011-05-28 23:51:58 +0200
commit67881b977954c9cf330ceebc97cd400152b8c550 (patch)
tree401e4160ae25ab8965516d35d214efaf9509363e /src/core.py
parent1c9fc655dd9cd662f751742453caae071f88e57b (diff)
downloadpoezio-67881b977954c9cf330ceebc97cd400152b8c550.tar.gz
poezio-67881b977954c9cf330ceebc97cd400152b8c550.tar.bz2
poezio-67881b977954c9cf330ceebc97cd400152b8c550.tar.xz
poezio-67881b977954c9cf330ceebc97cd400152b8c550.zip
Fixes #2179
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 14cb4857..f96a61a8 100644
--- a/src/core.py
+++ b/src/core.py
@@ -923,7 +923,7 @@ class Core(object):
self.add_message_to_text_buffer(room, _("%(nick)s set the subject to: %(subject)s") % {'nick':nick_from, 'subject':subject}, time=None)
else:
self.add_message_to_text_buffer(room, _("The subject is: %(subject)s") % {'subject':subject}, time=None)
- room.topic = subject.replace('\n', '|')
+ room.topic = subject
if self.get_tab_by_name(room_from, tabs.MucTab) is self.current_tab():
self.refresh_window()