we go offline in rooms when we go invisible
This commit is contained in:
		
							parent
							
								
									0e873f24ca
								
							
						
					
					
						commit
						4849c2f815
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -905,6 +905,8 @@ class Connection(ConnectionHandlers):
 | 
				
			||||||
	def send_gc_status(self, nick, jid, show, status):
 | 
						def send_gc_status(self, nick, jid, show, status):
 | 
				
			||||||
		if not self.connection:
 | 
							if not self.connection:
 | 
				
			||||||
			return
 | 
								return
 | 
				
			||||||
 | 
							if show == 'invisible':
 | 
				
			||||||
 | 
								show = 'offline'
 | 
				
			||||||
		ptype = None
 | 
							ptype = None
 | 
				
			||||||
		if show == 'offline':
 | 
							if show == 'offline':
 | 
				
			||||||
			ptype = 'unavailable'
 | 
								ptype = 'unavailable'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue