[geary/wip/350-folks-fuzzy-match-workaround-brown-paper-bag] Brown-paper-bag fix for wrong folks infividual being used
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/350-folks-fuzzy-match-workaround-brown-paper-bag] Brown-paper-bag fix for wrong folks infividual being used
- Date: Tue, 6 Aug 2019 23:38:18 +0000 (UTC)
commit 3786e79c13dfd1f36edbe81d9a9ccb1e471508c1
Author: Michael Gratton <mike vee net>
Date: Wed Aug 7 09:37:02 2019 +1000
Brown-paper-bag fix for wrong folks infividual being used
Fixes #530, follow up for #499
src/client/application/application-contact-store.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/application/application-contact-store.vala
b/src/client/application/application-contact-store.vala
index e50db919..bc96b63c 100644
--- a/src/client/application/application-contact-store.vala
+++ b/src/client/application/application-contact-store.vala
@@ -258,7 +258,7 @@ public class Application.ContactStore : Geary.BaseObject {
foreach (Folks.Individual poss in view.individuals) {
foreach (Folks.EmailFieldDetails email in poss.email_addresses) {
if (email.value.normalize().casefold() == normalised_address) {
- match = view.individuals.first();
+ match = poss;
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]