mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Plurals everywhere!
This commit is contained in:
parent
3c2cbb5f92
commit
d8bae1a0d0
|
|
@ -122,5 +122,5 @@ tracing:
|
|||
disabled: true
|
||||
|
||||
# A list of application service config files to use
|
||||
applicationservice:
|
||||
app_service_config_files: []
|
||||
application_services:
|
||||
config_files: []
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ type ApplicationService struct {
|
|||
|
||||
func loadAppservices(config *Dendrite) error {
|
||||
// Iterate through and return all the Application Services
|
||||
for _, configPath := range config.ApplicationService.ConfigFiles {
|
||||
for _, configPath := range config.ApplicationServices.ConfigFiles {
|
||||
// Create a new application service
|
||||
var appservice ApplicationService
|
||||
|
||||
|
|
|
|||
|
|
@ -208,10 +208,10 @@ type Dendrite struct {
|
|||
|
||||
// Application Services
|
||||
// https://matrix.org/docs/spec/application_service/unstable.html
|
||||
ApplicationService struct {
|
||||
ApplicationServices struct {
|
||||
// Configuration files for various application services
|
||||
ConfigFiles []string `yaml:"app_service_config_files"`
|
||||
} `yaml:"applicationservice"`
|
||||
ConfigFiles []string `yaml:"config_files"`
|
||||
} `yaml:"application_services"`
|
||||
|
||||
// Any information derived from the configuration options for later use.
|
||||
Derived struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue