private void UpdateContact(Contact target, Contact source) { if (source.LastModified > target.LastModified) { Log.Logger.Debug($"Contact {target.Id} was updated from {source.Id}'s facets"); SetContact(target, source); } if (source.Interactions.Count > target.Interactions.Count) { foreach (Interaction interaction in FindMissingInteractions(target, source)) { Log.Logger.Debug($"Added missing interaction {interaction.Id} to {target.Id} from {source.Id}"); CopyInteraction(interaction, target); } } CurrentStatus.UpdateCounterAdd(1); }