From 59fb1857eff44f12cdbc40aa1507b36eca50bdb3 Mon Sep 17 00:00:00 2001 From: js Date: Tue, 5 Aug 2008 22:03:31 +0000 Subject: [PATCH] It does not need to be a message. --- src/common/stanza_session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/stanza_session.py b/src/common/stanza_session.py index 8861823f4..dd8041064 100644 --- a/src/common/stanza_session.py +++ b/src/common/stanza_session.py @@ -250,11 +250,11 @@ class EncryptedStanzaSession(StanzaSession): c.NT.mac = base64.b64encode(self.hmac(self.km_s, m_content + \ crypto.encode_mpi(old_en_counter))) - msgtxt = '[This message is part of an encrypted session. ' \ + msgtxt = '[This is part of an encrypted session. ' \ 'If you see this message, something went wrong.]' lang = os.getenv('LANG') if lang is not None and lang != 'en': # we're not english - msgtxt = _('[This message is part of an encrypted session. ' + msgtxt = _('[This is part of an encrypted session. ' 'If you see this message, something went wrong.]') + ' (' + \ msgtxt + ')' stanza.setBody(msgtxt)