[Telepathy] Invited and waiting for approval

Robert McQueen robert.mcqueen at collabora.co.uk
Tue Sep 26 17:43:08 PDT 2006


Raphaël Slinckx wrote:
> You have various lists when dealing with a telepathy group (the contact
> list group in this case).

This is not quite the full story. You also have to remember that there
are several contact list channels:
 subscribe: people whose presence you are subscribed to
 publish: people who are subscribed to your presence
 known: people who are known to you (ie your roster on Jabber)
 deny: people who may not send you messages or see your presence
etc...

The local pending/remote pending/member stuff are states that contacts
can have within each of these contact list channels.

> If a member is in the local_pending list, it means that the member has
> added you in his buddy list, but you have to accept this addition on
> your end.

This is the case when people are local pending on the publish channel.
It means they have asked to see your presence, and local approval is
required. People do not go local pending on your subscribe channel - it
makes no sense because you are the only person who can initate
subscription requests to other contacts - not them.

> So when a member is in your local_pending it means "Waiting for your
> authorization"
> 
> The other possibility is to have a contact in the remote_pending group.
> This means that you added someone to your contact list but the other end
> has to approve it.

This is the case when somebody is remote pending on your subscribe list.
It means you have asked to see their presence, and remote approval is
required. People do not go remote pending on your publish channl - it
makes no sense because your contacts are the only people who can
initiate subscription requests to you - not yourself.

> So when a member is in your remote_pending group, it means "Waiting for
> remote authorization"
> 
> These groups have also various semantics when they are applied to
> media-streaming conferences or MUC rooms. You can try to deduce them
> from the above explanation.

As you can see... there's a nice symmetry between publish and subscribe.
When someone is remote pending on your subscribe list, it means you are
local pending on their publish list. You don't get members in
local/remote pending on the other lists because you are in direct
control of them.

In the case of a group chat, the group interface refers just to members
of the channel from your perspective. If someone invites you to a
channel, you should appear to be remote pending in their group
interface, and local pending in yours, meaning you can accept or reject
their invitation.

> Raf

Regards,
Rob

-- 
Robert McQueen
Director, Collabora Ltd.


More information about the Telepathy mailing list