diff --git a/src/github.com/matrix-org/dendrite/common/config/appservice.go b/src/github.com/matrix-org/dendrite/common/config/appservice.go index e8c6bba8e..86bc92c10 100644 --- a/src/github.com/matrix-org/dendrite/common/config/appservice.go +++ b/src/github.com/matrix-org/dendrite/common/config/appservice.go @@ -70,8 +70,10 @@ type ApplicationService struct { // and loads their data into the config object for later access. func loadAppservices(config *Dendrite) error { for _, configPath := range config.ApplicationServices.ConfigFiles { - // Create a new application service - var appservice ApplicationService + // Create a new application service with default options + appservice := ApplicationService{ + RateLimited: true, + } // Create an absolute path from a potentially relative path absPath, err := filepath.Abs(configPath)