Commit 8d7cce23 authored by Yann Leboulanger's avatar Yann Leboulanger

fix invisible status

parent 243ece28
......@@ -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)
if was_invisible and self.privacy_rules_supported:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment