Skip to content
Snippets Groups Projects
Commit 2ad47cbe authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist
Browse files

ChatRow: Fix newlines in last message

parent 1c3634ac
No related branches found
No related tags found
No related merge requests found
......@@ -484,7 +484,7 @@ def reset_unread(self):
self.unread_count = 0
def set_last_message_text(self, nickname, text):
self._ui.message_label.set_text(text)
self._ui.message_label.set_text(text.replace('\n', ' '))
self._ui.nick_label.set_visible(bool(nickname))
self._ui.nick_label.set_text(nickname)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment