mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Fail-safe
This commit is contained in:
parent
d7c033d5e9
commit
0b4865a0bf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue