mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-06-16 10:02:27 +00:00
fa5fbee229
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.
24 lines
748 B
YAML
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
|