mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
before a message is actually deleted, we verify that server_folder+server_uid matches the Message-ID, so that we do not delete the wrong message by accident. the reason for that is that, to my knowledge, server_folder+server_uid are not necessarily stable but Message-ID is. anyway, this check was broken and set the server_uid to 0 in all cases - where it should be set to 0 _only_ on mismatches.