On Tue, Sep 20, 2016 at 2:57 AM, Mateus Bellomo wrote:
>> The identifier <-> handle map is not the "contact list". Under
>> "contact list" I mean contacts, which e.g. would be returned by
>> Connection.Interface.ContactList GetContactListAttributes().
>
> So in this case
I have just noticed that telepathy-morse actually uses the m_handles as the
'oficial' contact list: it is used to get the contacts in
GetContactListAttributes() and the contacts are added there in the
requestHandles() calling.
[1]
> The identifier <-> handle map is not the "contact list". Under
> "contact list" I mean contacts, which e.g. would be returned by
> Connection.Interface.ContactList GetContactListAttributes().
So in this case you could hold entries like (1,mateus2) and (2,
mate...@test.sip5060.net) in the map
Morse and Nonsense both returns a handle list.
In case of Nonsense: type of the list is UniqueHandleMap with
operators and the used operator [] will return a new handle for each
new identifier.
https://github.com/TelepathyQt/telepathy-nonsense/blob/master/uniquehandlemap.cc#L32
The identifier
Thanks for the reply guys and sorry for the duplicated post =)
> The thing is that ensureHandle() does (or at least should) NOT add the
> identifier to the contact list.
When you say list do you also refer to the map that I hold contacts
identifiers and handles, or you refer just the actual list
On 09/19/2016 08:59 PM, Mateus Bellomo wrote:
> Hello,
>
> I have implemented the requestSubscription() and requestHandles()
> methods at telepathy-resiprocate [1]. I'm using Empathy as a client and
> testing it I noticed that when I try to add a contact in the contact
> list, in the window that
Hi Mateus,
The question is sounds similar to [1].
I replied personally to you, instead of to the list, so I will quote myself:
On Sun, Jun 5, 2016 at 1:42 AM, Alexandr Akulich
wrote:
> Hi Mateus.
>
> I know about this behaviour. Empathy wants to get know if the
Hello,
I have implemented the requestSubscription() and requestHandles() methods
at telepathy-resiprocate [1]. I'm using Empathy as a client and testing it
I noticed that when I try to add a contact in the contact list, in the
window that opens, the method requestHandle() is being called several