Skip to content
Snippets Groups Projects
Commit 275187b8 authored by nkour's avatar nkour
Browse files

fix #292 [just a strip()]

parent a714d4ed
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ class Change_status_message_dialog:
rep = self.window.run()
if rep == gtk.RESPONSE_OK:
beg, end = self.message_buffer.get_bounds()
message = self.message_buffer.get_text(beg, end, 0)
message = self.message_buffer.get_text(beg, end, 0).strip()
#FIXME: support more than one line
gajim.config.set('last_status_msg', message)
else:
......
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