we go offline in rooms when we go invisible

This commit is contained in:
Yann Leboulanger 2006-03-29 21:06:01 +00:00
parent 0e873f24ca
commit 4849c2f815
1 changed files with 2 additions and 0 deletions

View File

@ -905,6 +905,8 @@ class Connection(ConnectionHandlers):
def send_gc_status(self, nick, jid, show, status):
if not self.connection:
return
if show == 'invisible':
show = 'offline'
ptype = None
if show == 'offline':
ptype = 'unavailable'