since 2006-11-29 we don't require a status message to sign a presence.

This commit is contained in:
Yann Leboulanger 2007-02-12 19:37:09 +00:00
parent db6a9787f2
commit a5b0e51dcb
1 changed files with 0 additions and 6 deletions

View File

@ -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)