Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Affiliations retrieval for a node doesn't appear to work #123

Open
lloydwatkin opened this issue Jul 11, 2013 · 3 comments
Open

Affiliations retrieval for a node doesn't appear to work #123

lloydwatkin opened this issue Jul 11, 2013 · 3 comments
Labels

Comments

@lloydwatkin
Copy link
Member

e.g.

<iq type="get" to="channels.surevine.com" 
    from="[email protected]/234a0599-6342-4d12-a4c3-35e5f48e8895" id="de8fe:1032">
    <pubsub xmlns="http://jabber.org/protocol/pubsub">
        <affiliations node="/user/[email protected]/posts"/>
    </pubsub>
</iq>

Seems to send me a list of my affiliations rather than the node affiliations. I realise this isn't correct in standard XEP-0060 but should be possible for a buddycloud node?

@lloydwatkin
Copy link
Member Author

Scrub that it does actually appear to be working

@lloydwatkin
Copy link
Member Author

Ok, if I own the channel I get what I expect (in line with XEP-0060) however if I don't I get a list of my own affiliations regardless of passing a node.

Therefore the server should either:

  • Error if I provide a node but don't own/moderate it, or,
  • Update the code so anyone can gather a list of affiliations (my preferered) (owner + mod to only get outcasts)

@lloydwatkin
Copy link
Member Author

...and this should also be reflected in the subscriptions call

lloydwatkin referenced this issue in buddycloud/buddycloud-http-api Jul 17, 2013
This API endpoint's purpose is to allow affiliation changes to existing
subscriptions to a given node.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant