Don't bypass transaction rollback when we're missing data to unlink.
This commit is contained in:
@@ -1971,7 +1971,7 @@ StoreObjectUnlinkFromConversation(StoreClient *client, StoreObject *mail)
|
||||
// no conversation guid means nothing to unlink
|
||||
Log(LOG_ERROR, "Unable to unlink mail " GUID_FMT " from conversation: no cid",
|
||||
mail->guid);
|
||||
return -1;
|
||||
goto abort;
|
||||
}
|
||||
|
||||
// unlink the mail from the conversation
|
||||
|
||||
Reference in New Issue
Block a user