From db97d20aec1bcfed2dce89a18a303052c900ae2d Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 14 Aug 2005 14:32:10 +0000 Subject: [PATCH] do not set as status I'm invisible --- src/common/connection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/connection.py b/src/common/connection.py index 08ebde315..68b03b1ca 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -1391,6 +1391,8 @@ class Connection: signed = '' if not msg: lowered_uf_status_msg = helpers.get_uf_show(show).lower() + if lowered_uf_status_msg == _('invisible'): # do not show I'm invisible! + lowered_uf_status_msg = _('offline') msg = _("I'm %s") % lowered_uf_status_msg keyID = gajim.config.get_per('accounts', self.name, 'keyid') if keyID and USE_GPG: