Remove debug output.
This commit is contained in:
		
							parent
							
								
									ce32cb5d1c
								
							
						
					
					
						commit
						ad727e47ab
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -274,13 +274,11 @@ class ConnectionCaps(object):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def _capsDiscoCB(self, jid, node, identities, features, dataforms):
 | 
						def _capsDiscoCB(self, jid, node, identities, features, dataforms):
 | 
				
			||||||
		contact = gajim.contacts.get_contact_from_full_jid(self.name, jid)
 | 
							contact = gajim.contacts.get_contact_from_full_jid(self.name, jid)
 | 
				
			||||||
		print contact
 | 
					 | 
				
			||||||
		if not contact:
 | 
							if not contact:
 | 
				
			||||||
			room_jid, nick = gajim.get_room_and_nick_from_fjid(jid)
 | 
								room_jid, nick = gajim.get_room_and_nick_from_fjid(jid)
 | 
				
			||||||
			contact = gajim.contacts.get_gc_contact(self.name, room_jid, nick)
 | 
								contact = gajim.contacts.get_gc_contact(self.name, room_jid, nick)
 | 
				
			||||||
			if contact is None:
 | 
								if contact is None:
 | 
				
			||||||
				return
 | 
									return
 | 
				
			||||||
		print contact, contact.caps_node, contact.caps_hash_method
 | 
					 | 
				
			||||||
		if not contact.caps_node:
 | 
							if not contact.caps_node:
 | 
				
			||||||
			return # we didn't asked for that?
 | 
								return # we didn't asked for that?
 | 
				
			||||||
		if contact.caps_hash_method != 'old':
 | 
							if contact.caps_hash_method != 'old':
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue