From 05ae41483b76d0953d8ff864c77de622916c3100 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Thu, 8 Oct 2020 16:34:47 +0100 Subject: [PATCH] Fix typo --- synapse/module_api/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/synapse/module_api/__init__.py b/synapse/module_api/__init__.py index 562d36b6f04c..53300a116c78 100644 --- a/synapse/module_api/__init__.py +++ b/synapse/module_api/__init__.py @@ -349,8 +349,7 @@ async def create_and_send_event_into_room( """ if event_type == EventTypes.Member: raise Exception( - "ThirdPartyEventRules modules are not currently able to send " - "m.room.member events" + "Synapse modules are not currently able to send m.room.member events" ) # Build event dictionary