Description
It happens that when a user asks for help, and host does not respond to the request (that is the host does not accept or decline/postpone the help request) and the user returns to the main session, the dialog just stays there. And if the host then clicks the postpone button, then error of invalid user id is thrown.
I tried to listen for the participant’s change event to know when that user returns to the main session, but since the subsessionClient.askForHelp() method is based on the user Id, which changes as user switches between main and sub sessions, then this solution does not work.
I also tried using the command channel to inform the host that the participant that asked for help has returned to the main session, but since the host was not in the same subsesession, then the zmClient.getSessionHost() method returned a different userId and not that of the host. Hence this also did not work.
I would appreciate if the userGuid could also be sent along in the askForHelp payload so I can use that. This I think would help find the user since the user Guid is consistent between the main and subsessions.
Browser Console Error
User does not exist
Which Web Video SDK version?
1.9.8
To Reproduce(If applicable)
Steps to reproduce the behavior:
Create meeting
Join as host and as participant
Create and open sub sessions
Join sub session as participant
Ask for help
Leave sub subsession (participant)
Error: Ask for help dialog still remains after participant returned to main session
I would also appreciate if you add the userGuid to the ChatMessage interface and the chatClient.send method as well. Since we know the userGuid (which does not change between the main and sub-sessions) is more reliable than the userId (which changes between the main and sub-sessions).