streamUserPresence method
Implementation
void streamUserPresence(
WebSocketChannel webSocketChannel, List<String> userId) {
webSocketChannel.sink.add(jsonEncode({
"msg": "sub",
"id": userId[0],
"name": "stream-user-presence",
"params": [
"",
{
"added": userId
}
]
}));
}