Skip to content
Commit 0509ff5e authored by Felix Tiede's avatar Felix Tiede Committed by Ingo Klöcker
Browse files

Refactor and const IdentityManager.

See pim/kleopatra!16 (comment 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.
parent 08e71eee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment