[jitsi-dev] Multiple entries of the same MetaContact


#1

Hey

Lately I often have the same MetaContact shown multiple times in the contact list (as in the screenshot). Emil told me you stopped chasing it as it was a neverending story, but I'm starting to get really annoyed about it - so any ideas where I could start looking for the cause? :slight_smile:

Regards,
Ingo


#2

Hi Ingo,

Actually I'm currently working on the issue. Hopefully I'm going to commit a fix soon.

Cheers,
Yana

路路路

On Nov 17, 2011, at 3:26 PM, Bauersachs Ingo wrote:

Hey

Lately I often have the same MetaContact shown multiple times in the contact list (as in the screenshot). Emil told me you stopped chasing it as it was a neverending story, but I'm starting to get really annoyed about it - so any ideas where I could start looking for the cause? :slight_smile:

Regards,
Ingo
<Multiple-contacts.png>


#3

袧邪 17.11.11 15:26, Bauersachs Ingo 薪邪锌懈褋邪:

Hey

Lately I often have the same MetaContact shown multiple times in the
contact list (as in the screenshot).

Oh come on ... that's clearly a feature. Obviously someone of my stature
should displayed (at least) 20, 30 times for proper impact ...

Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil

路路路

Emil told me you stopped chasing
it as it was a neverending story, but I'm starting to get really
annoyed about it - so any ideas where I could start looking for the
cause? :slight_smile:


#4

:stuck_out_tongue:

I'll create a screenshot for you tomorrow, by then it'll be that long :wink:

路路路

-----Original Message-----
From: Emil Ivov [mailto:emcho@jitsi.org]
Sent: Donnerstag, 17. November 2011 15:45
To: dev@jitsi.java.net
Cc: Bauersachs Ingo
Subject: Re: [jitsi-dev] Multiple entries of the same MetaContact
袧邪 17.11.11 15:26, Bauersachs Ingo 薪邪锌懈褋邪:

Hey

Lately I often have the same MetaContact shown multiple times in the
contact list (as in the screenshot).

Oh come on ... that's clearly a feature. Obviously someone of my stature
should displayed (at least) 20, 30 times for proper impact ...

Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil

Emil told me you stopped chasing
it as it was a neverending story, but I'm starting to get really
annoyed about it - so any ideas where I could start looking for the
cause? :slight_smile:


#5

Hi Ingo,

I've just committed some code (revision 9126) that is supposed to fix the problem. Could you please confirm if it works for you?

Cheers,
Yana

路路路

On Nov 17, 2011, at 3:48 PM, Bauersachs Ingo wrote:

:stuck_out_tongue:

I'll create a screenshot for you tomorrow, by then it'll be that long :wink:

-----Original Message-----
From: Emil Ivov [mailto:emcho@jitsi.org]
Sent: Donnerstag, 17. November 2011 15:45
To: dev@jitsi.java.net
Cc: Bauersachs Ingo
Subject: Re: [jitsi-dev] Multiple entries of the same MetaContact
袧邪 17.11.11 15:26, Bauersachs Ingo 薪邪锌懈褋邪:

Hey

Lately I often have the same MetaContact shown multiple times in the
contact list (as in the screenshot).

Oh come on ... that's clearly a feature. Obviously someone of my stature
should displayed (at least) 20, 30 times for proper impact ...

Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil
Emil

Emil told me you stopped chasing
it as it was a neverending story, but I'm starting to get really
annoyed about it - so any ideas where I could start looking for the
cause? :slight_smile:


#6

Hey

I've just committed some code (revision 9126) that is supposed to fix the
problem. Could you please confirm if it works for you?

Nope, it doesn鈥檛 :frowning:
Emil is again four times in my list. It might have something to do with "Hide offline contacts". Disabling and enabling this option again clear the duplicate entries.

Just an idea, no clue if it's even slightly related:
I noticed that each MetaContact has a UID. Couldn't this id be used to override equals/hashcode to avoid adding the same MetaContact to a set/list multiple times?

Regards,
Ingo


#7

Hi Ingo,

Thanks for testing! Could you please try revision 9128?

Cheers,
Yana

路路路

On Nov 21, 2011, at 2:06 PM, Bauersachs Ingo wrote:

Hey

I've just committed some code (revision 9126) that is supposed to fix the
problem. Could you please confirm if it works for you?

Nope, it doesn鈥檛 :frowning:
Emil is again four times in my list. It might have something to do with "Hide offline contacts". Disabling and enabling this option again clear the duplicate entries.

Just an idea, no clue if it's even slightly related:
I noticed that each MetaContact has a UID. Couldn't this id be used to override equals/hashcode to avoid adding the same MetaContact to a set/list multiple times?

Regards,
Ingo