Bläddra i källkod

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).
tags/v1.38.0rc1
Andrew Morgan 3 år sedan
committed by GitHub
förälder
incheckning
04c8f308f4
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 4AEE18F83AFDEB23
2 ändrade filer med 4 tillägg och 1 borttagningar
  1. +1
    -0
      changelog.d/10288.doc
  2. +3
    -1
      docs/presence_router_module.md

+ 1
- 0
changelog.d/10288.doc Visa fil

@@ -0,0 +1 @@
Fix homeserver config option name in presence router documentation.

+ 3
- 1
docs/presence_router_module.md Visa fil

@@ -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.


Laddar…
Avbryt
Spara