Also apply our notexistant caps trick to XHTML.
This commit is contained in:
		
							parent
							
								
									8d0ff396b1
								
							
						
					
					
						commit
						68b41e43ae
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1235,7 +1235,8 @@ class ChatControl(ChatControlBase):
 | 
			
		|||
 | 
			
		||||
	def update_toolbar(self):
 | 
			
		||||
		# Formatting
 | 
			
		||||
		if gajim.capscache.is_supported(self.contact, NS_XHTML_IM):
 | 
			
		||||
		if gajim.capscache.is_supported(self.contact, NS_XHTML_IM)
 | 
			
		||||
		and not gajim.capscache.is_supported('notexistant'):
 | 
			
		||||
			self._formattings_button.set_sensitive(True)
 | 
			
		||||
		else:
 | 
			
		||||
			self._formattings_button.set_sensitive(False)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue