groupchat subject is now set to its old value when we don't have the right to set it
This commit is contained in:
		
							parent
							
								
									2b0d78446c
								
							
						
					
					
						commit
						c2dd8c1081
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -302,6 +302,8 @@ class Interface: | ||||||
| 		if jid in self.windows[account]['gc']: | 		if jid in self.windows[account]['gc']: | ||||||
| 			self.windows[account]['gc'][jid].print_conversation('Error %s: %s' % \ | 			self.windows[account]['gc'][jid].print_conversation('Error %s: %s' % \ | ||||||
| 				(array[1], array[2]), jid, tim = array[4]) | 				(array[1], array[2]), jid, tim = array[4]) | ||||||
|  | 			self.windows[account]['gc'][jid].set_subject(jid, \ | ||||||
|  | 				self.windows[account]['gc'][jid].subjects[jid]) | ||||||
| 			return | 			return | ||||||
| 		if jid.find('@') <= 0: | 		if jid.find('@') <= 0: | ||||||
| 			jid = jid.replace('@', '') | 			jid = jid.replace('@', '') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue