Use userId generated by back end in all message
This commit is contained in:
@@ -6,7 +6,7 @@ export interface ExSocketInterface extends Socket, Identificable {
|
||||
token: any;
|
||||
roomId: string;
|
||||
webRtcRoomId: string;
|
||||
//userId: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
character: string;
|
||||
position: PointInterface;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export interface Identificable {
|
||||
id: string;
|
||||
userId: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user