Home GnuPG

Refactor and const IdentityManager.
e0445eabf77dUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor and const IdentityManager.

See https://invent.kde.org/pim/kleopatra/-/merge_requests/16#note_427791

As per the comment, mailIdManager has been moved from a class static
variable into a file static function.
This revealed that it is only required to get hold of the identity
associated with a certain mail sender address. Thus the class code using
the IdentityManager has been refactored into the same function and it no
longer returns an IdentityManager, but instead directly returns the
identity requested, or the default identity if a mail address has no
associated identity.

Details

Provenance
Felix Tiede <kde@pc-tiede.de>Authored on Apr 6 2022, 9:48 AM
ftiedeCommitted on Apr 9 2022, 4:05 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.