strip JID in add contact dialog. Fixes #5200
This commit is contained in:
parent
b83f9ae5d6
commit
a79efe5af0
|
@ -965,7 +965,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
|
||||
|
||||
|
|
Loading…
Reference in New Issue