Attempt to de-mangle From names from Mailman, GitLab, etc
Some software like the above will mangle From mailbox names by appending "via Some Service" to the From mailbox name. This messes up generating default avatars for the actual people sending these messages, so attempt to de-mangle the names. This involves moving primary originator determination from the engine to the client, since it's now a policy thing. Add unit tests.
This commit is contained in:
parent
133167dfd0
commit
6c8f192148
9 changed files with 192 additions and 46 deletions
|
|
@ -68,6 +68,7 @@ geary_test_client_sources = [
|
|||
# and the engine test sute needs to depend
|
||||
# geary-engine_internal.vapi, which leads to duplicate symbols when
|
||||
# linking
|
||||
'engine/api/geary-email-identifier-mock.vala',
|
||||
'engine/api/geary-credentials-mediator-mock.vala',
|
||||
|
||||
'client/accounts/accounts-manager-test.vala',
|
||||
|
|
@ -76,6 +77,7 @@ geary_test_client_sources = [
|
|||
'client/components/client-web-view-test-case.vala',
|
||||
'client/composer/composer-web-view-test.vala',
|
||||
'client/util/util-avatar-test.vala',
|
||||
'client/util/util-email-test.vala',
|
||||
|
||||
'js/client-page-state-test.vala',
|
||||
'js/composer-page-state-test.vala',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue