recipients must be a list

This commit is contained in:
Yann Leboulanger 2005-05-27 14:16:34 +00:00
parent 1d628069b1
commit 4097578005
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ class Connection:
msgenc = '' msgenc = ''
if keyID and USE_GPG: if keyID and USE_GPG:
#encrypt #encrypt
msgenc = self.gpg.encrypt(msg, keyID) msgenc = self.gpg.encrypt(msg, [keyID])
if msgenc: msgtxt = _('[this message is encrypted]') if msgenc: msgtxt = _('[this message is encrypted]')
msg_iq = common.xmpp.Message(to = jid, body = msgtxt, typ = 'chat') msg_iq = common.xmpp.Message(to = jid, body = msgtxt, typ = 'chat')
if msgenc: if msgenc: