string spaces when creating the jid. if ICQ# is '1111 ' we were producing invalid jid
This commit is contained in:
		
							parent
							
								
									913128901d
								
							
						
					
					
						commit
						a483c7247c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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] | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue