mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix the homeserver config example in presence router docs (#10288)
The presence router docs include some sample homeserver config. At some point we changed the name of the [config option](859dc05b36/docs/sample_config.yaml (L104-L113)
), but forgot to update the docs.
I've also added `presence.enabled: true` to the example, as that's the new way to enable presence (the `presence_enabled` option has been deprecated).
This commit is contained in:
parent
b6dbf89fae
commit
04c8f308f4
1
changelog.d/10288.doc
Normal file
1
changelog.d/10288.doc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix homeserver config option name in presence router documentation.
|
@ -222,7 +222,9 @@ Synapse, amend your homeserver config file with the following.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
presence:
|
presence:
|
||||||
routing_module:
|
enabled: true
|
||||||
|
|
||||||
|
presence_router:
|
||||||
module: my_module.ExamplePresenceRouter
|
module: my_module.ExamplePresenceRouter
|
||||||
config:
|
config:
|
||||||
# Any configuration options for your module. The below is an example.
|
# Any configuration options for your module. The below is an example.
|
||||||
|
Loading…
Reference in New Issue
Block a user