fix invisible status

This commit is contained in:
Yann Leboulanger 2007-11-25 14:31:04 +00:00
parent 243ece28ba
commit 8d7cce23f4
1 changed files with 1 additions and 0 deletions

View File

@ -794,6 +794,7 @@ class Connection(ConnectionHandlers):
was_invisible = self.connected == STATUS_LIST.index('invisible')
self.connected = STATUS_LIST.index(show)
if show == 'invisible':
signed = self.get_signed_msg(msg)
self.send_invisible_presence(msg, signed)
return
if was_invisible and self.privacy_rules_supported: