Commit 7c05f5d3 authored by Michael Gratton's avatar Michael Gratton 🤞 Committed by Michael Gratton

Throw the correct error when email id is not valid for create_or_merge

parent 438f74dc
Pipeline #58727 passed with stages
in 35 minutes and 36 seconds
......@@ -1360,7 +1360,7 @@ private class Geary.ImapDB.Folder : BaseObject, Geary.ReferenceSemantics {
if (email_id == null ||
email_id.message_id != Db.INVALID_ROWID ||
email_id.uid == null) {
throw new EngineError.INCOMPLETE_MESSAGE(
throw new EngineError.BAD_PARAMETERS(
"IMAP message with UID required"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment