summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-03-21 12:25:33 +0000
committerErik Johnston <erik@matrix.org>2019-03-21 12:48:37 +0000
commit164798ec32a30e07bd5972ec216e7848f0928c78 (patch)
tree498b115d9eb2b96c886087d85b6140df46cae412 /synapse/handlers/room.py
parentCorrectly handle 3PID invites in create room spam check (diff)
downloadsynapse-164798ec32a30e07bd5972ec216e7848f0928c78.tar.xz
Add 3PID invite support to spam checker
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index a710b51c3d..6f5666e624 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -661,6 +661,7 @@ class RoomCreationHandler(BaseHandler):
                 id_server,
                 requester,
                 txn_id=None,
+                new_room=True,
             )
 
         result = {"room_id": room_id}