Home GnuPG
Diffusion GpgOL 75f46829054e

Moving encrypted emails to folder fails

Description

Moving encrypted emails to folder fails

* src/folder-events.cpp: Search via searchMailsByUUID and use first
                            mail found if getMailByUUID fails

For mails that don't have a GPGOL_UID property get_unique_id returns
the Message-ID and no longer null. Calling getMailByUUID will fail. In
thats case we fallback to calling the slower searchMailsByUUID as that
will call get_unique_id for each mail, so it finds those mails via the
Message-ID and moving works again.

Details

Provenance
mmontkowskiAuthored on Tue, Jul 1, 1:26 PM
Parents
rOdc4fc1e7002e: Merge branch 'master' of ssh://git.gnupg.org/git/gpgol
Branches
Unknown
Tags
Unknown
Tasks
T7712: Moving encrypted emails to folder fails