auto create rooms during create agent dispatch api request (#3158)
This commit is contained in:
@@ -51,8 +51,8 @@ func NewRoomAllocator(conf *config.Config, router routing.Router, rs ObjectStore
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (r *StandardRoomAllocator) CreateRoomEnabled() bool {
|
||||
return r.config.Room.CreateRoomEnabled
|
||||
func (r *StandardRoomAllocator) AutoCreateEnabled(context.Context) bool {
|
||||
return r.config.Room.AutoCreate
|
||||
}
|
||||
|
||||
// CreateRoom creates a new room from a request and allocates it to a node to handle
|
||||
|
||||
Reference in New Issue
Block a user