From a0a036f3eb14f91218c8cab6fe9bc2365a741f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 28 Jan 2017 18:46:17 +0100 Subject: [PATCH] Decline active list when going visible Declining the active list will switch us to the default list --- src/common/connection.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index ecfa4128a..07fb324fe 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -2112,12 +2112,7 @@ class Connection(CommonConnection, ConnectionHandlers): def _change_from_invisible(self): if self.privacy_rules_supported: - if self.blocked_list: - self.set_active_list(self.privacy_default_list) - else: - iq = self.build_privacy_rule('visible', 'allow') - self.connection.send(iq) - self.set_active_list('visible') + self.set_active_list('') def _update_status(self, show, msg): xmpp_show = helpers.get_xmpp_show(show)