mirror of https://github.com/M66B/FairEmail.git
Fixed adding messages in some cases
This commit is contained in:
parent
4e9d800eb4
commit
9bb0fa729c
|
@ -860,7 +860,7 @@ class Core {
|
|||
if (istore.hasCapability("UIDPLUS")) {
|
||||
// https://tools.ietf.org/html/rfc4315
|
||||
AppendUID[] uids = ifolder.appendUIDMessages(new Message[]{imessage});
|
||||
if (uids != null && uids.length > 0 && uids[0].uid > 0) {
|
||||
if (uids != null && uids.length > 0 && uids[0] != null && uids[0].uid > 0) {
|
||||
newuid = uids[0].uid;
|
||||
Log.i(folder.name + " appended uid=" + newuid);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue