Skip to content
Snippets Groups Projects
Commit bfe1e8c6 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

Never join a room when invisible

parent 0690a35e
No related branches found
No related tags found
No related merge requests found
......@@ -858,6 +858,9 @@ class Connection(ConnectionHandlers):
if not self.connection:
return
show = helpers.get_xmpp_show(STATUS_LIST[self.connected])
if show == 'invisible':
# Never join a room when invisible
return
p = common.xmpp.Presence(to = '%s@%s/%s' % (room, server, nick),
show = show, status = self.status)
if gajim.config.get('send_sha_in_gc_presence'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment