PubSub: Owner affiliation

Mohammed Azhar
Added over 2 years ago


I was wondering how can i give every subscriber to a node the owner affiliation by default so that he can subscribe others...

Here is the use case:

I am planning to create a group chat feature using PubSub. A user will create a group(node) and add other users as members, these subscribed user can also subscribe other users to this node.

I tried to update the tables and set the affiliation column to 'owner' when any subscriptions was made,It makes the user owner But it does not seem to work

Any help is appreciated

Thank you.

Replies (2)

Added by Wojciech Kapcia TigaseTeam over 2 years ago

Please don't duplicate topics. The answer will be given in the original:

Added by Mohammed Azhar over 2 years ago

sorry for the duplication...

I thought this section was the better place to ask this question..