From 2aab06cc1a76b2b13400453f318fbc97b80d061f Mon Sep 17 00:00:00 2001 From: Thierry Pouplier Date: Wed, 29 Apr 2026 03:34:15 +0000 Subject: [PATCH] fix: use mautrix[encryption] instead of matrix-nio for Matrix bridge The Hermes Matrix gateway uses the mautrix SDK, not matrix-nio. This fixes E2EE support by installing the correct library. Refs: PR #2 --- ai/compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai/compose.yml b/ai/compose.yml index 72ebf85..e96993f 100755 --- a/ai/compose.yml +++ b/ai/compose.yml @@ -30,10 +30,10 @@ services: container_name: hermes restart: always # Gateway run enables the internal API server on port 8642 - # Install openai and matrix-nio for Matrix bridge compatibility on startup + # Install openai and mautrix[encryption] for Matrix bridge with E2EE support on startup # Uses uv (modern Python package manager) with --system flag for venv installation entrypoint: > - sh -c "/opt/hermes/.venv/bin/uv pip install openai matrix-nio[encryption] --system -q && /opt/hermes/.venv/bin/hermes gateway run" + sh -c "/opt/hermes/.venv/bin/uv pip install openai mautrix[encryption] --system -q && /opt/hermes/.venv/bin/hermes gateway run" environment: - OLLAMA_HOST=http://ollama:11434 - API_SERVER_ENABLED=true