[Bug 38497] Logger should not file logs under the "conversation room" id

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 20 17:08:12 CEST 2011


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

--- Comment #8 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-06-20 08:08:10 PDT ---
(In reply to comment #7)
> What Guillaume explained (which I knew but I forgot) is that in XMPP, rooms
> participant has different IDs. While it's not always possible to know the real
> ID (e.g. someone not in your contact list)

That's not why it's not always possible: it's not always possible because the
room administrator might not have allowed it. Whether the other guy is on your
contact list has little to do with it (you can have a 1:1 chat with people not
on your contact list, unless the server is one like GTalk that disallows that).

> Finally, having the logger to do
> this conversation may lead to side effect. As the Client uses the room ID to
> open the 1:1 chat, it means that a second 1:1 chat window can be opened (this
> time using the real ID)

Talking to the in-room JID is semantically different. Suppose I'm in a room
with you (room at example.com, say) and my in-room JID is room at example.com/smcv.

If the room is configured to be "semi-anonymous", you can't see that I'm really
simon.mcvittie at collabora.co.uk unless you're a room administrator. You can open
a 1:1 chat with me anyway; if you do, your 1:1 messages are relayed by the
room, preserving my anonymity. You can't necessarily even know that I'm the
same smcv who was in the room yesterday; all you know is that the nickname smcv
in the context of that room currently belongs to me. (So, similar to the
guarantees you get from IRC.)

If you are a room administrator, or the room is configured to be non-anonymous,
you can see my real JID ("handle owner" in the Telepathy D-Bus API) and can
choose whether to have a 1:1 conversation with me via the room, or directly.

(Fully anonymous rooms also theoretically exist - in these, even room
administrators can't see your real JID. In practice, nobody uses them.)

I think the logger is right to store logs as it does now, according to the JID
from whom you received the message, but UIs (probably Empathy here) should
prefer to open a 1:1 chat with the real JID (handle owner), if they know it.

-- 
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