availabilityStatus info from websocket
This commit is contained in:
committed by
David Négrier
parent
2b15faf4e8
commit
a566f8d661
+4
-1
@@ -1,6 +1,7 @@
|
||||
import {RoomConnection} from "../front/src/Connexion/RoomConnection";
|
||||
import {connectionManager} from "../front/src/Connexion/ConnectionManager";
|
||||
import * as WebSocket from "ws"
|
||||
import { AvailabilityStatus } from '../front/src/Messages/ts-proto-generated/protos/messages';
|
||||
|
||||
let userMovedCount = 0;
|
||||
|
||||
@@ -22,7 +23,9 @@ async function startOneUser(): Promise<void> {
|
||||
bottom: 200,
|
||||
left: 500,
|
||||
right: 800
|
||||
}, null);
|
||||
},
|
||||
null,
|
||||
AvailabilityStatus.ONLINE);
|
||||
|
||||
const connection = onConnect.connection;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user