I successfully integrated Photon webhooks and I want to do some api calls on these hooks, that checks if certain player is allowed to create/join the room. For that I need hooks to return an error result and Photon to respond to it.
I made a simple test where RoomCreated returns this: return { ResultCode : 4, Message: 'Test error result' };
It works fine, Photon recognizes the error and interrupts the create room flow.
I did the same test on RoomJoined, but it does not work. It seems like it is ignoring the ResultCode entirely and the room join flow is not interruptable. As I understood from the docs, any ResultCode other than 0 should trigger an error. Is this a limitation, or only RoomCreated responds to errors?