bugfix: when we have an error, we sane an error to the GUI, not a notify
This commit is contained in:
		
							parent
							
								
									d98a451764
								
							
						
					
					
						commit
						c22e2c5f7a
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -264,9 +264,8 @@ class Connection: | ||||||
| 			if errcode == '409':	#conflict :	Nick Conflict | 			if errcode == '409':	#conflict :	Nick Conflict | ||||||
| 				self.dispatch('ERROR', errmsg) | 				self.dispatch('ERROR', errmsg) | ||||||
| 			else: | 			else: | ||||||
| 				self.dispatch('NOTIFY', (prs.getFrom().getStripped(), 'error', \ | 				self.dispatch('ERROR_ANSWER', (prs.getFrom().getStripped(), errmsg, | ||||||
| 					errmsg, prs.getFrom().getResource(), prio, keyID, None, None, \ | 																					errcode)) | ||||||
| 					None,  None, None, None)) |  | ||||||
| 		if ptype == 'available' or ptype == 'unavailable': | 		if ptype == 'available' or ptype == 'unavailable': | ||||||
| 			gajim.logger.write('status', status, prs.getFrom().getStripped(), show) | 			gajim.logger.write('status', status, prs.getFrom().getStripped(), show) | ||||||
| 			self.dispatch('NOTIFY', (prs.getFrom().getStripped(), show, status, \ | 			self.dispatch('NOTIFY', (prs.getFrom().getStripped(), show, status, \ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue