Rename UpdateSubscriptionPermissions -> SubscriptionPermission and other renaming (#363)

* Store subscription permission in DB

* Comment out subscription permission to DB

* WIP commit

* Clean up

* clean up

* Latest protocol
This commit is contained in:
Raja Subramanian
2022-01-22 12:16:15 +05:30
committed by GitHub
parent 4ebfc2eef6
commit d1848ab218
12 changed files with 278 additions and 277 deletions
-1
View File
@@ -16,7 +16,6 @@ const (
RoomsKey = "rooms"
// RoomParticipantsPrefix is hash of participant_name => ParticipantInfo
// a key for each room, with expiration
RoomParticipantsPrefix = "room_participants:"
// RoomLockPrefix is a simple key containing a provided lock uid
+2 -2
View File
@@ -24,7 +24,7 @@ import (
type RTCService struct {
router routing.MessageRouter
roomAllocator RoomAllocator
store RoomStore
store RORoomStore
upgrader websocket.Upgrader
currentNode routing.LocalNode
config *config.Config
@@ -35,7 +35,7 @@ type RTCService struct {
func NewRTCService(
conf *config.Config,
ra RoomAllocator,
store RoomStore,
store RORoomStore,
router routing.MessageRouter,
currentNode routing.LocalNode,
) *RTCService {