diff options
author | Azrenbeth <77782548+Azrenbeth@users.noreply.github.com> | 2021-08-17 14:22:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 13:22:45 +0000 |
commit | 1a9f531c79f8a043db6f151c5393f23aa5675800 (patch) | |
tree | e0e6672133623495110e0ccec2754eaf14aa3540 /synapse/config/server.py | |
parent | Stop setting the outlier flag for things that aren't (#10614) (diff) | |
download | synapse-1a9f531c79f8a043db6f151c5393f23aa5675800.tar.xz |
Port the PresenceRouter module interface to the new generic interface (#10524)
Port the PresenceRouter module interface to the new generic interface introduced in v1.37.0
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 187b4301a0..871422ea28 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -248,6 +248,7 @@ class ServerConfig(Config): self.use_presence = config.get("use_presence", True) # Custom presence router module + # This is the legacy way of configuring it (the config should now be put in the modules section) self.presence_router_module_class = None self.presence_router_config = None presence_router_config = presence_config.get("presence_router") @@ -858,20 +859,6 @@ class ServerConfig(Config): # #enabled: false - # Presence routers are third-party modules that can specify additional logic - # to where presence updates from users are routed. - # - presence_router: - # The custom module's class. Uncomment to use a custom presence router module. - # - #module: "my_custom_router.PresenceRouter" - - # Configuration options of the custom module. Refer to your module's - # documentation for available options. - # - #config: - # example_option: 'something' - # Whether to require authentication to retrieve profile data (avatars, # display names) of other users through the client API. Defaults to # 'false'. Note that profile data is also available via the federation |