mjolnir/src/appservice/config/config.example.yaml
David Teller fa5fbee229 A first implementation of report-to-moderator
Traditionally, when a user clicks "report" in a Matrix client, this goes
to the homeserver administrator, who often is the wrong person for the job.

MSC3215 introduces a mechanism to let clients cooperate with a bot to send
the report to the moderator instead. Client support has landed in Element Web
(behind a Labs flag) in in 2021. This allows Mjölnir to serve as the partner
bot.
2023-01-10 20:46:56 +01:00

24 lines
748 B
YAML

homeserver:
# The Matrix server name, this will be the name of the server in your matrix id.
domain: "localhost:9999"
# The url for the appservice to call the client server API from.
url: http://localhost:8081
# Database configuration for storing which Mjolnirs have been provisioned.
db:
engine: "postgres"
connectionString: "postgres://mjolnir-tester:mjolnir-test@localhost:8083/mjolnir-test-db"
# A room you have created that scopes who can access the appservice.
# See docs/access_control.md
accessControlList: "#access-control-list:localhost:9999"
# This is a web api that the widget connects to in order to interact with the appservice.
webAPI:
port: 9001
bot:
# The display name of the bot
displayName: Moderation bot