How to push the chat room without adding the room

When my JS is logged in, you can receive private messages, but I can’t accept that I am a member of the chat room, and I need to go to the room to accept it.

So I hope to be able to receive messages from the room that I was a member of the room without adding to the room.