summaryrefslogtreecommitdiff
path: root/src/room.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/room.py
parent1c9fc655dd9cd662f751742453caae071f88e57b (diff)
downloadpoezio-67881b977954c9cf330ceebc97cd400152b8c550.tar.gz
poezio-67881b977954c9cf330ceebc97cd400152b8c550.tar.bz2
poezio-67881b977954c9cf330ceebc97cd400152b8c550.tar.xz
poezio-67881b977954c9cf330ceebc97cd400152b8c550.zip
Fixes #2179
Diffstat (limited to 'src/room.py')
-rw-r--r--src/room.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/room.py b/src/room.py
index 3ff655fb..a5a05845 100644
--- a/src/room.py
+++ b/src/room.py
@@ -45,6 +45,9 @@ class Room(TextBuffer):
self.users = []
self.joined = False
+ def get_single_line_topic(self):
+ return self.topic.replace('\n', '|')
+
def log_message(self, txt, time, nickname):
"""
Log the messages in the archives, if it needs