|
|
@ -8974,6 +8974,7 @@ public class FragmentMessages extends FragmentBase
|
|
|
|
MimeMessage imessage = new MimeMessage(isession, is);
|
|
|
|
MimeMessage imessage = new MimeMessage(isession, is);
|
|
|
|
MessageHelper helper = new MessageHelper(imessage, context);
|
|
|
|
MessageHelper helper = new MessageHelper(imessage, context);
|
|
|
|
MessageHelper.MessageParts parts = helper.getMessageParts();
|
|
|
|
MessageHelper.MessageParts parts = helper.getMessageParts();
|
|
|
|
|
|
|
|
String protect_subject = parts.getProtectedSubject();
|
|
|
|
|
|
|
|
|
|
|
|
// Write decrypted body
|
|
|
|
// Write decrypted body
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
|
|
@ -8999,6 +9000,9 @@ public class FragmentMessages extends FragmentBase
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
db.beginTransaction();
|
|
|
|
db.beginTransaction();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (protect_subject != null)
|
|
|
|
|
|
|
|
db.message().setMessageSubject(message.id, protect_subject);
|
|
|
|
|
|
|
|
|
|
|
|
db.message().setMessageContent(message.id,
|
|
|
|
db.message().setMessageContent(message.id,
|
|
|
|
true,
|
|
|
|
true,
|
|
|
|
message.language,
|
|
|
|
message.language,
|
|
|
|