Added check body/uid

This commit is contained in:
M66B
2022-06-11 08:07:51 +02:00
parent 14edad1e2e
commit 8b9383fad0

View File

@@ -1992,6 +1992,9 @@ class Core {
boolean plain_text = jargs.optBoolean(0);
String charset = jargs.optString(1, null);
if (message.uid != null)
throw new IllegalArgumentException("uid missing");
// Download message body
DB db = DB.getInstance(context);