Fix detecting oob data
This commit is contained in:
		
							parent
							
								
									85bc3896ab
								
							
						
					
					
						commit
						4096ab5db5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -80,7 +80,7 @@ def parse_delay(stanza, epoch=True, convert='utc'):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# XEP-0066: Out of Band Data
 | 
					# XEP-0066: Out of Band Data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def parse_oob(stanza, dict_=None, key='Gajim'):
 | 
					def parse_oob(stanza, dict_=None, key='gajim'):
 | 
				
			||||||
    oob_node = stanza.getTag('x', namespace=nbxmpp.NS_X_OOB)
 | 
					    oob_node = stanza.getTag('x', namespace=nbxmpp.NS_X_OOB)
 | 
				
			||||||
    if oob_node is None:
 | 
					    if oob_node is None:
 | 
				
			||||||
        return
 | 
					        return
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue