Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 04c8f30

Browse files
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](https://github.com/matrix-org/synapse/blob/859dc05b3692a3672c1a0db8deaaa9274b6aa6f5/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).
1 parent b6dbf89 commit 04c8f30

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

changelog.d/10288.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix homeserver config option name in presence router documentation.

docs/presence_router_module.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ Synapse, amend your homeserver config file with the following.
222222

223223
```yaml
224224
presence:
225-
routing_module:
225+
enabled: true
226+
227+
presence_router:
226228
module: my_module.ExamplePresenceRouter
227229
config:
228230
# Any configuration options for your module. The below is an example.

0 commit comments

Comments
 (0)