MessageCore: move logic to detect identity for message into Messagecore.
We need to detect the identity of a message to know, if Autocrypt is enabled the core logic should be shared. In future we may want to add more ways to detect the identity, like the header Delivered-To, X-Original-To or [X-]Envelope-To. But this needs to be determined later.
Please register or sign in to comment