do not send online show in presence
This commit is contained in:
		
							parent
							
								
									933f9c9a27
								
							
						
					
					
						commit
						924b1e3df2
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -217,7 +217,9 @@ class Connection:
 | 
			
		|||
					self.vcard_sha = ''
 | 
			
		||||
				self.dispatch('MYVCARD', vcard)
 | 
			
		||||
				#we re-send our presence with sha
 | 
			
		||||
				sshow = STATUS_LIST[self.connected]
 | 
			
		||||
				sshow = STATUS_LIST[self.connected]
 | 
			
		||||
				if sshow == 'online':
 | 
			
		||||
					sshow = None
 | 
			
		||||
				prio = unicode(gajim.config.get_per('accounts', self.name,
 | 
			
		||||
					'priority'))
 | 
			
		||||
				p = common.xmpp.Presence(typ = None, priority = prio, show = sshow,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue