sendUserStatusEvent method
Implementation
void sendUserStatusEvent(WebSocketChannel webSocketChannel, String roomId) {
Map msg = {
"msg": "sub",
"id": roomId + "subscription-id",
"name": "stream-notify-room",
"params": ["$roomId/event"]
};
webSocketChannel.sink.add(jsonEncode(msg));
}