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

string spaces when creating the jid. if ICQ# is '1111 ' we were producing invalid jid

parent 91312890
No related branches found
No related tags found
No related merge requests found
......@@ -329,7 +329,7 @@ class Add_new_contact_window:
def fill_jid(self):
model = self.protocol_combobox.get_model()
index = self.protocol_combobox.get_active()
jid = self.uid_entry.get_text()
jid = self.uid_entry.get_text().strip()
if index > 0: # it's not jabber but a transport
jid = jid.replace('@', '%')
agent = model[index][1]
......
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