pop3: qualify all mails for deletion if supplied id == -1
ClosedPublic

Authored by nowicki on Oct 5 2018, 10:23 AM.

Details

Summary

When determining ids of mails to delete a special identifier -1 is used to reference all e-mails. When the "leave on server" flag is not set asking for deletion of all mails should really return a list of all mail ids.

This fixes Pop3Test::testSimpleLeaveOnServer test case.

This patch is an effort to fix some POP3 autotests. I'm not deeply familiar with the POP3 resource, but the change seems logical.

Test Plan

Execute pop3 autotest.

Diff Detail

Repository
R44 KDE PIM Runtime
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nowicki created this revision.Oct 5 2018, 10:23 AM
Restricted Application added a subscriber: kde-pim. · View Herald TranscriptOct 5 2018, 10:23 AM
nowicki requested review of this revision.Oct 5 2018, 10:23 AM
dvratil accepted this revision.Oct 5 2018, 11:08 AM
dvratil added a subscriber: dvratil.

Looks sensible. Thanks.

This revision is now accepted and ready to land.Oct 5 2018, 11:08 AM
This revision was automatically updated to reflect the committed changes.