[Bug 26591] New: Clarify what InitiatorHandle means

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 16 14:43:55 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26591

           Summary: Clarify what InitiatorHandle means
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-spec
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


Consider the following situation:

* Rob created a persistent chatroom, say #telepathy, on a server
* Simon is not in the chatroom
* Will invites Simon to the chatroom, creating a Channel in Simon's CM

The spec doesn't make it entirely clear whether Simon should see Will or Rob as
the InitiatorHandle. In Gabble, Will would be the InitiatorHandle.

wjt, mikhailz and I agree that Gabble's implementation is correct: for
invitations, the InitiatorHandle should be the contact who caused the Telepathy
Channel to be created (i.e. the inviter).

The contact who caused the underlying protocol construct to be created is a
distinct concept which should be in o.fd.T.Properties (or in future, the
replacement requested by Bug #23151).

Rationale: the room creator is much less interesting than the inviter, is less
likely to be available at invitation time (i.e. can't necessarily be an
immutable property), and is less likely to be available at all.

The current text "For channels requested by the local user, this MUST be the
value of Connection.SelfHandle  at the time the channel was created" agrees
with this interpretation, and contradicts the other option.


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



More information about the telepathy-bugs mailing list