Skip to content

Commit 81a1e21

Browse files
committed
Add missing message type for close-room
1 parent 283e2c6 commit 81a1e21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

collab/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ func handleMessages(
319319

320320
if msgData.Type == CLOSE_SESSION {
321321
closeMessage := Message{
322+
Type: CLOSE_SESSION,
322323
RoomID: client.roomID,
323324
Content: "The session has been closed by a user.",
324325
}

0 commit comments

Comments
 (0)