[evolution] I#517 - Use case insensitive email compare on account address guess



commit f8933bdbc169c198194652572665b1fe9dcb99b7
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jul 2 11:23:59 2019 +0200

    I#517 - Use case insensitive email compare on account address guess
    
    Closes https://gitlab.gnome.org/GNOME/evolution/issues/517

 src/libemail-engine/e-mail-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libemail-engine/e-mail-utils.c b/src/libemail-engine/e-mail-utils.c
index 8d5b65cbdd..b608ca50d0 100644
--- a/src/libemail-engine/e-mail-utils.c
+++ b/src/libemail-engine/e-mail-utils.c
@@ -600,7 +600,7 @@ guess_mail_account_with_recipients_and_sort (ESourceRegistry *registry,
 
        /* Build a set of email addresses in which to test for membership.
         * Only the keys matter here; the values just need to be non-NULL. */
-       recipients = g_hash_table_new (g_str_hash, g_str_equal);
+       recipients = g_hash_table_new (camel_strcase_hash, camel_strcase_equal);
 
        for (ii = 0; recipt_types[ii]; ii++) {
                addr = camel_mime_message_get_recipients (message, recipt_types[ii]);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]