Update example config

This commit is contained in:
Tulir Asokan
2022-11-25 14:11:48 +02:00
parent d7c72a82de
commit 53527d5b6e
3 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
# Homeserver details.
homeserver:
# The address that this appservice can use to connect to the homeserver.
address: http://localhost:8008
address: https://example.com
# The domain of the homeserver (for MXIDs, etc).
domain: example.com
@@ -60,6 +60,11 @@ appservice:
# Requires MSC2409 support (i.e. Synapse 1.22+).
ephemeral_events: true
# Should incoming events be handled asynchronously?
# This may be necessary for large public instances with lots of messages going through.
# However, messages will not be guaranteed to be bridged in the same order they were sent in.
async_transactions: false
# Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
as_token: "This value is generated when generating the registration"
hs_token: "This value is generated when generating the registration"

2
go.mod
View File

@@ -12,7 +12,7 @@ require (
github.com/stretchr/testify v1.8.1
github.com/yuin/goldmark v1.5.3
maunium.net/go/maulogger/v2 v2.3.2
maunium.net/go/mautrix v0.12.4-0.20221122192554-26c9ef6e7157
maunium.net/go/mautrix v0.12.4-0.20221123200106-2ea51bee6cff
)
require (

4
go.sum
View File

@@ -68,5 +68,5 @@ maunium.net/go/mauflag v1.0.0 h1:YiaRc0tEI3toYtJMRIfjP+jklH45uDHtT80nUamyD4M=
maunium.net/go/mauflag v1.0.0/go.mod h1:nLivPOpTpHnpzEh8jEdSL9UqO9+/KBJFmNRlwKfkPeA=
maunium.net/go/maulogger/v2 v2.3.2 h1:1XmIYmMd3PoQfp9J+PaHhpt80zpfmMqaShzUTC7FwY0=
maunium.net/go/maulogger/v2 v2.3.2/go.mod h1:TYWy7wKwz/tIXTpsx8G3mZseIRiC5DoMxSZazOHy68A=
maunium.net/go/mautrix v0.12.4-0.20221122192554-26c9ef6e7157 h1:x2SiQnZQeJJ8qYCwEJ/rN0SEpGgT/Ct8kqjB4y/7vM4=
maunium.net/go/mautrix v0.12.4-0.20221122192554-26c9ef6e7157/go.mod h1:uOUjkOjm2C+nQS3mr9B5ATjqemZfnPHvjdd1kZezAwg=
maunium.net/go/mautrix v0.12.4-0.20221123200106-2ea51bee6cff h1:qcOCJCuXnLSTpMuVhyUGuuo8WEHWd4FfS8LjztMbOGs=
maunium.net/go/mautrix v0.12.4-0.20221123200106-2ea51bee6cff/go.mod h1:uOUjkOjm2C+nQS3mr9B5ATjqemZfnPHvjdd1kZezAwg=