From a5b0e51dcbf0ee11bd026b263863a6aad6f8980f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 12 Feb 2007 19:37:09 +0000 Subject: [PATCH] since 2006-11-29 we don't require a status message to sign a presence. --- src/common/connection.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 4ef5536aa..7bff2586a 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -721,12 +721,6 @@ class Connection(ConnectionHandlers): if not msg: msg = '' keyID = gajim.config.get_per('accounts', self.name, 'keyid') - if keyID and USE_GPG and not msg: - lowered_uf_status_msg = helpers.get_uf_show(show).lower() - # do not show I'm invisible! - if lowered_uf_status_msg == _('invisible').lower(): - lowered_uf_status_msg = _('offline').lower() - msg = _("I'm %s") % lowered_uf_status_msg signed = '' if not auto and not show == 'offline': signed = self.get_signed_msg(msg)