|
|
@ -8931,9 +8931,11 @@ public class FragmentMessages extends FragmentBase
|
|
|
|
db.message().setMessageStored(message.id, new Date().getTime());
|
|
|
|
db.message().setMessageStored(message.id, new Date().getTime());
|
|
|
|
db.message().setMessageFts(message.id, false);
|
|
|
|
db.message().setMessageFts(message.id, false);
|
|
|
|
|
|
|
|
|
|
|
|
File raw = message.getRawFile(context);
|
|
|
|
if (BuildConfig.DEBUG || debug) {
|
|
|
|
Helper.copy(plain, raw);
|
|
|
|
File raw = message.getRawFile(context);
|
|
|
|
db.message().setMessageRaw(message.id, true);
|
|
|
|
Helper.copy(plain, raw);
|
|
|
|
|
|
|
|
db.message().setMessageRaw(message.id, true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
db.setTransactionSuccessful();
|
|
|
|
db.setTransactionSuccessful();
|
|
|
|
} catch (SQLiteConstraintException ex) {
|
|
|
|
} catch (SQLiteConstraintException ex) {
|
|
|
|