Re: Linking Operation
- From: Alexander Larsson <alexl redhat com>
- To: Erick Pérez Castellanos <erick red gmail com>
- Cc: gnome-contacts-list <gnome-contacts-list gnome org>
- Subject: Re: Linking Operation
- Date: Thu, 03 Nov 2011 15:45:50 +0100
On Thu, 2011-11-03 at 09:42 -0500, Erick Pérez Castellanos wrote:
> > We don't copy all the data from the other persona to the main persona.
> > That would be a "merge", not a "link". Instead we copy only the data
> > that folks uses for determining when two personas are linked. i.e. the
> > linkable attributes (local-id, im-address and webservice-addres), such
> > that folks now links/unlinks the two personas.
> >
> > If there is no main persona, like if you're just linking two telepathy
> > personas together we have to create one so that we have somewhere to
> > write the linkable attributes. This persona will then be linked to both
> > of the telepathy personas.
> yeah, I did get all this, I think I didn't explained myself clearly
> enough.
> What I'm missing is:
> There a Contact for every Folks::Individual right ?, when the linking
> operation is done, one Contacts goes away (erased or hidden, dunno ewll
> yet), I don't know how that happens. I think, after some thought, this
> is some dark magic working in libfolks, but I didn't get that part much.
> Anyway, I know now, I have to read a bunch of code yet, ContactStore is
> the first stop.
Ah, the Contacts in-memory object. Yeah, folks tells us about the other
individual goind away, thats when we drop the Contact for it. See the
aggregator.individuals_changed_detailed.connect
stuff in Contact.Store constructor.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]