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

Commit

Permalink
Fix the homeserver config example in presence router docs (#10288)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
anoadragon453 authored Jun 30, 2021
1 parent b6dbf89 commit 04c8f30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/10288.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix homeserver config option name in presence router documentation.
4 changes: 3 additions & 1 deletion docs/presence_router_module.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ Synapse, amend your homeserver config file with the following.

```yaml
presence:
routing_module:
enabled: true

presence_router:
module: my_module.ExamplePresenceRouter
config:
# Any configuration options for your module. The below is an example.
Expand Down

0 comments on commit 04c8f30

Please sign in to comment.