1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 15:11:03 +00:00

Fail-safe

This commit is contained in:
M66B 2022-01-15 14:23:43 +01:00
parent d7c033d5e9
commit 0b4865a0bf

View file

@ -5002,7 +5002,7 @@ public class FragmentCompose extends FragmentBase {
Log.i("Selected external identity=" + data.draft.identity);
}
if (data.draft.revision == null) {
if (data.draft.revision == null || data.draft.revisions == null) {
data.draft.revision = 1;
data.draft.revisions = 1;
db.message().setMessageRevision(data.draft.id, data.draft.revision);