|
|
@ -1145,6 +1145,9 @@ class Core {
|
|
|
|
if (target != folder.id)
|
|
|
|
if (target != folder.id)
|
|
|
|
throw new IllegalArgumentException("Invalid folder");
|
|
|
|
throw new IllegalArgumentException("Invalid folder");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (account != null && account.isWebDe() && "Postausgang".equalsIgnoreCase(folder.name))
|
|
|
|
|
|
|
|
throw new IllegalArgumentException("'Postausgang' is read-only, use 'Gesendet' instead");
|
|
|
|
|
|
|
|
|
|
|
|
// External draft might have a uid only
|
|
|
|
// External draft might have a uid only
|
|
|
|
if (TextUtils.isEmpty(message.msgid)) {
|
|
|
|
if (TextUtils.isEmpty(message.msgid)) {
|
|
|
|
message.msgid = EntityMessage.generateMessageId();
|
|
|
|
message.msgid = EntityMessage.generateMessageId();
|
|
|
|