fix indentation
This commit is contained in:
		
							parent
							
								
									8bde5748f9
								
							
						
					
					
						commit
						7e14a4dd31
					
				
					 1 changed files with 11 additions and 13 deletions
				
			
		| 
						 | 
					@ -1804,8 +1804,7 @@ class ChatControl(ChatControlBase):
 | 
				
			||||||
			composing_xep = composing_xep,
 | 
								composing_xep = composing_xep,
 | 
				
			||||||
			process_command = process_command, xhtml = xhtml)
 | 
								process_command = process_command, xhtml = xhtml)
 | 
				
			||||||
		if id:
 | 
							if id:
 | 
				
			||||||
			# XXX: Once we have fallback to disco, remove
 | 
								# XXX: Once we have fallback to disco, remove notexistant check
 | 
				
			||||||
			#      notexistant check
 | 
					 | 
				
			||||||
			if gajim.capscache.is_supported(contact, NS_RECEIPTS) \
 | 
								if gajim.capscache.is_supported(contact, NS_RECEIPTS) \
 | 
				
			||||||
			and not gajim.capscache.is_supported(contact,
 | 
								and not gajim.capscache.is_supported(contact,
 | 
				
			||||||
			'notexistant') and gajim.config.get_per('accounts',
 | 
								'notexistant') and gajim.config.get_per('accounts',
 | 
				
			||||||
| 
						 | 
					@ -2416,8 +2415,7 @@ class ChatControl(ChatControlBase):
 | 
				
			||||||
			want_e2e = not e2e_is_active and not self.gpg_is_active \
 | 
								want_e2e = not e2e_is_active and not self.gpg_is_active \
 | 
				
			||||||
				and e2e_pref
 | 
									and e2e_pref
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			# XXX: Once we have fallback to disco, remove
 | 
								# XXX: Once we have fallback to disco, remove notexistant check
 | 
				
			||||||
			#      notexistant check
 | 
					 | 
				
			||||||
			if want_e2e and not self.no_autonegotiation \
 | 
								if want_e2e and not self.no_autonegotiation \
 | 
				
			||||||
			and gajim.HAVE_PYCRYPTO \
 | 
								and gajim.HAVE_PYCRYPTO \
 | 
				
			||||||
			and gajim.capscache.is_supported(self.contact,
 | 
								and gajim.capscache.is_supported(self.contact,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue