Commit a5fc3b77 authored by Yann Leboulanger's avatar Yann Leboulanger

don't send the converted to one line message, just save it converted.

parent 321a2b54
......@@ -1106,10 +1106,10 @@ def _add_jid(self, jid, type_):
start_iter = message_buffer.get_start_iter()
end_iter = message_buffer.get_end_iter()
message = message_buffer.get_text(start_iter, end_iter).decode('utf-8')
message = helpers.to_one_line(message)
if self.save_message_checkbutton.get_active():
msg = helpers.to_one_line(message)
gajim.config.set_per('accounts', self.account,
'subscription_request_msg', message)
'subscription_request_msg', msg)
message= ''
group = self.group_comboboxentry.child.get_text().decode('utf-8')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment