]> git.0d.be Git - empathy.git/commit
Don't unnecessarily remove Individuals if Individual IDs have been reused
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 1 Sep 2010 13:59:03 +0000 (14:59 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 2 Sep 2010 14:01:30 +0000 (15:01 +0100)
commita4a6f1b83dcf33c57c0fca1a7f68735df05f888e
tree181c579a4881818d4c6ff0096c4cbb9000b6802d
parent88a455a446bdf3617de594052dc5c756c1013da8
Don't unnecessarily remove Individuals if Individual IDs have been reused

When linking and unlinking, it's possible for the linked Individual to have
the same ID as one of its component Individuals (before linked or once
unlinked). If two such Individuals with the same ID are added and removed at
the same time (as could [only] happen during linking or unlinking),
EmpathyIndividualManager should do the Individual removals before the
additions, in order to prevent one of the Individuals getting clobbered.
Closes: bgo#627819
libempathy/empathy-individual-manager.c