diff --git a/requirements.txt b/requirements.txt
index d715c82bec1a2f504a1d891b4424e73f558cdf23..f94eb38deaf7d8bd0118485e3745b203f0515d66 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,5 +4,5 @@ alembic>=1,<2
 ruamel.yaml>=0.15.94,<0.17
 commonmark>=0.8,<0.10
 python-magic>=0.4,<0.5
-mautrix==0.5.1
+mautrix>=0.5.2,<0.6
 fbchat-asyncio==0.6.0