PubSub: Owner affiliation
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