-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sent to the wrong list again...

- -------- Original Message --------
Subject: Re: [Standards] Pubsub temporary subscriptions
Date: Wed, 16 Sep 2009 16:45:04 -0600
From: Peter Saint-Andre <[email protected]>
Reply-To: XMPP Standards <[email protected]>
To: XMPP Standards <[email protected]>
References: <[email protected]>

On 7/16/09 12:18 AM, Matthew Rushton wrote:
> Hi,
>   I've been reading up on pubsub and have a question regarding
> subscriptions. I'm looking for functionality that allows a user to
> temporarily subscribe to a node, perhaps based on presence. For example
> consider a client that is not subscribed to any nodes, logs in,
> subscribes to a node somehow and then logs out unsubscribing themselves
> in the process. I've read section 9.1.3 of XEP-0060 (shown below) which
> seems to suggest this functionality may be possible. However I'm not
> sure it allows subscription to indivdual nodes? It really just seems
> like pubsub was not built with the concept of temporary subscriptions in
> mind, though I may just be missing something. The other option I could
> use would be a chat room which seems to be much more dynamic in terms of
> temporary membership. My concern there is the size limitations of the
> room which could grow to be quite large. Thanks in advance, any
> thoughts/ideas are greatly appreciated.
> -Matt

So you basically want to subscribe to the node for the life of your
session, and when you go offline the subscription magically disappears.

Correct?

>       9.1.3 Presence Sharer
>
> If the node has an open access model, the pubsub service SHOULD also
> consider an entity to be temporarily and implicitly subscribed to the
> node if the entity sends presence to the account owner in the absence of
> a presence subscription. In this case, the subscription SHOULD be based
> on the 'from' address of the presence stanza, which will be a full JID
> (<[email protected]/resource> or <domain.tld/resource>). When the
> service receives unavailable presence from the full JID, it MUST
> consider cancel the temporary subscription.

That's for PEP, not generic PubSub.

Peter

- --
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqxasEACgkQNL8k5A2w/vy2KQCeNhFjTFgxh0WScl/m0e93PUG8
p8cAn02wBQmxMP/QsB9I0U+b8SbPsLrJ
=nRKO
-----END PGP SIGNATURE-----

Reply via email to