Change PotentialMatch.known_email_aliases to be of type Set<string>
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 20 Apr 2011 00:41:57 +0000 (01:41 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Sat, 23 Apr 2011 21:00:46 +0000 (22:00 +0100)
Helps: bgo#640092

NEWS
folks/potential-match.vala

diff --git a/NEWS b/NEWS
index 50c0fbe..6ac78c2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -44,6 +44,7 @@ API changes:
 * LocalIdDetails.local_ids now has type Set<string>
 * NoteDetails.notes now has type Set<Note>
 * RoleDetails.roles now has type Set<Role>
+* PotentialMatch.known_email_aliases now has type Set<string>
 
 Overview of changes from libfolks 0.4.0 to libfolks 0.5.0
 =========================================================
index 2d91617..86a7cbd 100644 (file)
@@ -18,6 +18,7 @@
  *       Raul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>
  */
 
+using Gee;
 
 /**
  * Likely-ness of a potential match.
@@ -46,7 +47,15 @@ public class Folks.PotentialMatch : Object
   MatchResult _result;
   private Folks.Individual _individual_a;
   private Folks.Individual _individual_b;
-  public static Gee.HashSet<string> known_email_aliases = null;
+
+  /**
+   * A set of e-mail addresses known to be aliases of each other, such as
+   * various forms of administrator address.
+   *
+   * @since UNRELEASED
+   */
+  public static Set<string> known_email_aliases = null;
+
   private static double _DIST_THRESHOLD = 0.70;
   private const string _SEPARATORS = "._-+";