print only once the presence when someone connect
This commit is contained in:
		
							parent
							
								
									48dfd4a3ea
								
							
						
					
					
						commit
						606c2caba1
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -374,6 +374,7 @@ class GajimCore: | ||||||
| 
 | 
 | ||||||
| 	def presenceCB(self, con, prs): | 	def presenceCB(self, con, prs): | ||||||
| 		"""Called when we recieve a presence""" | 		"""Called when we recieve a presence""" | ||||||
|  | 		if prs.getXNode(common.jabber.NS_DELAY): return | ||||||
| 		who = str(prs.getFrom()) | 		who = str(prs.getFrom()) | ||||||
| 		prio = prs.getPriority() | 		prio = prs.getPriority() | ||||||
| 		if not prio: | 		if not prio: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue