I have implemented beforeMatchJoin and afterMatchJoin realtime hooks. I can get the ctx.username, ctx.userId etc but ctx.matchId is returning undefined? How to get the matchId in before and after hooks of MatchJoin?
I have implemented beforeMatchJoin and afterMatchJoin realtime hooks. I can get the ctx.username, ctx.userId etc but ctx.matchId is returning undefined? How to get the matchId in before and after hooks of MatchJoin?
Hi @Shahariar_Ashik,
you should be able to retrieve the matchId
in the outgoing envelope message.