Use encryption folder for PGP decrypt

pull/207/head
M66B 3 years ago
parent 08ef349aae
commit 146f2bb8a8

@ -7382,7 +7382,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
InputStream in = null;
OutputStream out = null;
boolean inline = false;
File plain = File.createTempFile("plain", "." + message.id, context.getCacheDir());
File tmp = new File(context.getFilesDir(), "encryption");
if (!tmp.exists())
tmp.mkdir();
File plain = new File(tmp, message.id + ".pgp_out");
// Find encrypted data
for (EntityAttachment attachment : attachments)

Loading…
Cancel
Save