Commit d3b4cc23 authored by Yann Leboulanger's avatar Yann Leboulanger

strip JID in add contact dialog. Fixes #5200

parent 74d4ed68
......@@ -862,7 +862,7 @@ _('Please fill in the data of the contact you want to add in account %s') %accou
def on_add_button_clicked(self, widget):
'''When Subscribe button is clicked'''
jid = self.uid_entry.get_text().decode('utf-8')
jid = self.uid_entry.get_text().decode('utf-8').strip()
if not jid:
return
......
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