{
"cfg_mautrix_signal_defaults": {
"user_name": "mautrix",
"directory": "/opt/mautrix-signal",
"database": {
"host": "localhost",
"port": 5432,
"username": "mautrix_signal_user",
"schema": "mautrix_signal"
},
"homeserver": {
"address": "http://localhost:8008",
"domain": "synapse.example.org",
"conf_directory": "/etc/matrix-synapse/conf.d",
"appservices_directory": "/etc/matrix-synapse/appservices.d",
"user_name": "matrix-synapse",
"service_name": "matrix-synapse"
},
"formats": {
"displayname": "{{ .DisambiguatedName }}",
"messages": {
"text": "{{ .Sender.DisambiguatedName }}: {{ .Message }}",
"notice": "{{ .Sender.DisambiguatedName }}: {{ .Message }}",
"emote": "* {{ .Sender.DisambiguatedName }} {{ .Message }}",
"file": "{{ .Sender.DisambiguatedName }} sent a file{{ if .Caption }}: {{ .Caption }}{{ end }}",
"image": "{{ .Sender.DisambiguatedName }} sent an image{{ if .Caption }}: {{ .Caption }}{{ end }}",
"audio": "{{ .Sender.DisambiguatedName }} sent an audio file{{ if .Caption }}: {{ .Caption }}{{ end }}",
"video": "{{ .Sender.DisambiguatedName }} sent a video{{ if .Caption }}: {{ .Caption }}{{ end }}",
"location": "{{ .Sender.DisambiguatedName }} sent a location{{ if .Caption }}: {{ .Caption }}{{ end }}"
}
}
}
}