DeleteRoom now removes all participants in the room

This commit is contained in:
David Zhao
2021-04-21 22:30:29 -07:00
parent 4725872884
commit 0dddc3c0be
5 changed files with 47 additions and 12 deletions
+3 -3
View File
@@ -12,13 +12,13 @@ import (
)
const (
// hash of room_name => Room proto
// RoomsKey is hash of room_name => Room proto
RoomsKey = "rooms"
// hash of room_id => room name
// RoomIdMap is hash of room_id => room name
RoomIdMap = "room_id_map"
// hash of participant_name => ParticipantInfo
// RoomParticipantsPrefix is hash of participant_name => ParticipantInfo
// a key for each room, with expiration
RoomParticipantsPrefix = "room_participants:"