critical fix for #12392: "Always encrypt to self" doesn't work

with GnuPG. Tested by submitter and okay'ed by Don.

svn path=/trunk/kdenetwork/kmail/; revision=66943
wilder-work
Daniel Naber 26 years ago
parent 52d21c46b7
commit ace19d2963
  1. 7
      kpgpbase.cpp

@ -391,8 +391,11 @@ KpgpBaseG::encsign(const QStrList *_recipients, const char *passphrase,
cmd += "\" ";
++it;
}
if(flagEncryptToSelf)
cmd += " --default-recipient-self";
}
if(flagEncryptToSelf) {
cmd += " --recipient \"";
cmd += user();
cmd += "\" ";
}
cmd += " --set-filename stdin ";

Loading…
Cancel
Save