Correctly update email based im addresses during contact changes
authorAlexander Larsson <alexl@redhat.com>
Thu, 20 Oct 2011 11:58:01 +0000 (13:58 +0200)
committerRaul Gutierrez Segales <rgs@collabora.co.uk>
Mon, 24 Oct 2011 15:43:52 +0000 (16:43 +0100)
commitcf255636136aab4cd6673b2d963641607fe059c9
treee2b0a9cc54bef4fd79b0ee0d9bfd52e6837502e1
parent965b4b47aefe8aaa62b1f8a76d1b60e8f5c1c9a8
Correctly update email based im addresses during contact changes

When we have already read a contact, but are updating it e.g. due
to a property change there is a problem in
Edsf.Persons._update_im_addressess(). Its looking at the existing
personas im_addresses for already existing im addresses before adding
new ones. However, they were already added there based on the email
addresses last time, which means we don't add them now.

The fix is simple, just look in new_im_addressess for existing
im_addresses.

https://bugzilla.gnome.org/show_bug.cgi?id=662285
NEWS
backends/eds/lib/edsf-persona.vala