You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Is it possible to load a custom module from an absolute location?
Initially I installed Synapse with the apt repository and placed my custom python module in /opt/venvs/matrix-synapse/lib/python3.8/site-packages. I was able to load the module with:
modules:
- module: custom_event_rules.MyRules
Recently I used the Docker image to install Synapse on a different server. Unfortunatly I was not able to manage to load a custom module with the Docker image. I placed the file in the Docker volume folder and modifed the homeserver.yaml like this:
Each module is defined by a path to a Python class as well as a configuration. This information for a given module should be available in the module's own documentation.
Is it possible to load a custom module from an absolute location?
Initially I installed Synapse with the apt repository and placed my custom python module in /opt/venvs/matrix-synapse/lib/python3.8/site-packages. I was able to load the module with:
Recently I used the Docker image to install Synapse on a different server. Unfortunatly I was not able to manage to load a custom module with the Docker image. I placed the file in the Docker volume folder and modifed the homeserver.yaml like this:
The documentation states:
https://matrix-org.github.io/synapse/latest/modules/index.html
Maybe I am missunderstanding the documentation.
Kind regards!
The text was updated successfully, but these errors were encountered: