[Bug 37729] tp_cli_dbus_properties_call_get returns identical addresses for different buddies

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 31 10:54:33 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37729

--- Comment #5 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-05-31 01:54:32 PDT ---
(In reply to comment #4)
> (In reply to comment #0)
> > I'd expect every buddy to have a different dbus address.
> 
> I also read those strings as equals at first but they are not:
> :2.dXdvZzIwQGphYmJlci5vcmcA
> :2.dXdvZzIxQGphYmJlci5vcmcA
>           ^

That's because your JIDs only differ by 1 bit, the default nickname is the same
as the "user" part of the JID (e.g. uwog22), and the unique names used in the
tube are a modified base64 encoding of the nickname to guarantee
collision-avoidance (unless the nickname is far too long, in which case a hash
is used and collisions are merely very unlikely).

http://telepathy.freedesktop.org/xmpp/tubes.html#sect-id2252072

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list