Filter out transient details that are not in the defintion mask
Update IsOnline status flag from transient details

If the transient details contain the global presence, then the value
in the contacts table's isOnline field is out of date; prefer the
value from the transient data.