mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
* Structure change * Remove duplicate folders from previous structure * Cleanup websocket protocol * Updating from based off PR * Fixup - remove wrong files during conflict and get the websocket working * renaming tsx to ts Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
7 lines
No EOL
209 B
TypeScript
7 lines
No EOL
209 B
TypeScript
export const JoinRoom = {
|
|
id: ".Event_JoinRoom.ext",
|
|
action: ({ userInfo }, webClient, { roomEvent }) => {
|
|
const { roomId } = roomEvent;
|
|
webClient.services.room.userJoined(roomId, userInfo);
|
|
}
|
|
}; |