aotrautils-srv 0.0.287 → 0.0.288
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/11/2022-20:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/11/2022-20:41:27)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4827,7 +4827,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4827
4827
|
|
|
4828
4828
|
|
|
4829
4829
|
|
|
4830
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-20:
|
|
4830
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-20:41:27)»*/
|
|
4831
4831
|
/*-----------------------------------------------------------------------------*/
|
|
4832
4832
|
|
|
4833
4833
|
|
|
@@ -5229,7 +5229,12 @@ WebsocketImplementation={
|
|
|
5229
5229
|
|
|
5230
5230
|
// TODO : FIXME : Use one single interface !
|
|
5231
5231
|
// Room information is stored in client socket object :
|
|
5232
|
-
|
|
5232
|
+
const isClientInRoom=WebsocketImplementation.isInRoom(clientSocket, receptionEntryPoint.clientsRoomsTag);
|
|
5233
|
+
|
|
5234
|
+
// DBG
|
|
5235
|
+
lognow("(SERVER) isClientInRoom:",isClientInRoom);
|
|
5236
|
+
|
|
5237
|
+
if(!isClientInRoom) return;
|
|
5233
5238
|
|
|
5234
5239
|
doOnIncomingMessage(dataWrapped.data, clientSocket);
|
|
5235
5240
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.288",
|
|
4
4
|
"main": "aotrautils-srv.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|