From bc1a96e740c8bd515ca04b8a7875687bf3750693 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Thu, 26 May 2005 22:02:01 +0000 Subject: [PATCH] this should fix #329 --- src/common/connection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 83f77d8ab..ab5864d0b 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -22,6 +22,7 @@ import os import time import sre import traceback +import helpers from calendar import timegm import common.xmpp @@ -622,7 +623,8 @@ class Connection: keyID = gajim.config.get_per('accounts', self.name, 'keyid') if keyID and USE_GPG: if not msg: - msg = show + lowered_uf_status_msg = helpers.get_uf_show(show).lower() + msg = "I'm %s" % lowered_uf_status_msg signed = self.gpg.sign(msg, keyID) if signed == 'BAD_PASSPHRASE': signed = ''