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