sign the correct thing (status)

This commit is contained in:
Yann Leboulanger 2004-10-11 16:28:12 +00:00
parent 6ecb0b2076
commit 95ce17e183
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ class GajimCore:
if self.cfgParser.tab[ev[1]].has_key("keyid"):
keyID = self.cfgParser.tab[ev[1]]["keyid"]
if keyID:
signed = self.gpg[ev[1]].sign(ev[2][0], keyID)
signed = self.gpg[ev[1]].sign(msg, keyID)
if signed == 'BAD_PASSPHRASE':
signed = ''
if self.connected[ev[1]] == 0: