I am working on a simple demo and am providing the user a checkbox "privateChannel", that they can select, which corresponds to:
session.publish('com.python.myfunction', [arg1], {}, {acknowledge: true,
disclose_me: privateChannel}).then(
Enter code here...
So when they don't select the checkbox, then the backend python client, subscribed to the topic and receiving details as an argument, will receive an ID for who published the request. The python backend processes the request then passes the details.publisher through to the resulting publish call via the eligible argument.
I've verified everything to work exactly how I'd expect, except that no matter what is provided via the eligible argument, the published message goes to both of the two javascript clients I have connected. I either get None or the ID based on the setting on the client side, but eligible seems to not affect anything.
Is there another option I need to enable on the crossbar router for this to work?