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