Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
peternorman #1
Member since Feb 2013 · 19 posts
Group memberships: Members
Show profile · Link to this post
Subject: Publish/Subscribe Node Ownership
I have been able to get my Publish/Subscribe example to work for the most part. Currently, only the user that created the pubsub node is allowed to publish to that node, if another user attempts to publish to that node I get an authentication error. I believe this possible to achieve I just haven't been able to achieve it at present. I was hoping someone could point me in the right direction.

Thanks,
Peter Norman
This post was edited on 2013-03-04, 17:39 by peternorman.
Avatar
Alex #2
Member since Feb 2003 · 4296 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I think what you are looking for is described here in XEP-0060:
http://xmpp.org/extensions/xep-0060.html#owner-affiliations

Alex
Avatar
peternorman #3
Member since Feb 2013 · 19 posts
Group memberships: Members
Show profile · Link to this post
That is exactly what I was looking for... is there way to modify affiliations via the Matrix API?
Avatar
Alex #4
Member since Feb 2003 · 4296 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Yes, the PubsubManager has functions for this. If something is missing let us know.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS