Hey, In my app, the publishers can't receive and subscriber's can't send a roster presence subscription.
In my app: The List of subscribers will be dynamic and keeps changing. The publisher need not (and should not) know who the subscribers are. This makes a scenario where a Subscriber sends a subscription request to Publisher not feasible. hence, the problem. Is there a way to dynamically add a subscriber to Publisher's roster without the Publisher needing to accept or approve it? So the use case goes like this: The Subscriber subscribes to the Pubsub service. The Subscriber is automatically added the Publisher's roster. Subscriber starts receiving presence updates as well as published items. When the subscriber unsubscribes from the node, he is removed from all the Publishers rosters. Is this doable? /andy On Wed, Nov 28, 2012 at 7:36 PM, Kevin Smith <[email protected]> wrote: > On Wed, Nov 28, 2012 at 2:04 PM, andy nes <[email protected]> wrote: > > Assuming Presence based on whether or not geolocation data is published, > > might not work in my case. The publisher has more than one status in > > available mode and the subscriber should know what status the Publisher > is > > in. The Publisher can be dnd, idle, away etc. Depending on the > Publisher's > > status, the handling of geolocation data varies. > > > > So, any suggestions on how to achieve this? > > What you're describing is pretty much exactly the roster/presence/PEP > model. You can rebuild this without using the roster but you'd > essentially be reinventing the roste, presence and PEP technologies. > Why not use them as-is? > > /K >
