mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 09:31:11 +01:00
Refactoring
This commit is contained in:
@@ -2469,10 +2469,10 @@ public class FragmentCompose extends FragmentBase {
|
||||
// Move draft to new account
|
||||
if (draft.account != aid && aid >= 0) {
|
||||
Log.i("Account changed");
|
||||
Long uid = draft.uid;
|
||||
String msgid = draft.msgid;
|
||||
|
||||
// To prevent violating constraints
|
||||
Long uid = draft.uid;
|
||||
String msgid = draft.msgid;
|
||||
draft.uid = null;
|
||||
draft.msgid = null;
|
||||
db.message().updateMessage(draft);
|
||||
|
||||
Reference in New Issue
Block a user