Commit fe0924d0 authored by Philip Withnall's avatar Philip Withnall

core: Fix comparison of updated local IDs

We should be comparing a set of strings, not a set of AbstractFieldDetails.
This fixes a crash in the link-personas-via-local-ids Tracker test.
parent 43d690d0
......@@ -2272,7 +2272,8 @@ public class Folks.Individual : Object,
}
}
if (!Utils.set_afd_equal (new_local_ids, this._local_ids))
if (new_local_ids.size != this._local_ids.size ||
!new_local_ids.contains_all (this._local_ids))
{
this._local_ids = new_local_ids;
this._local_ids_ro = new_local_ids.read_only_view;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment