summary refs log tree commit diff
path: root/synapse/rest/room.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-20 14:58:45 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-20 16:06:47 +0100
commit9c0e5704963f232a14545f26a4501b672a32beb4 (patch)
tree4de08fdb68482b484f7074eb0f250ae3588d80bf /synapse/rest/room.py
parentCreate a placeholder for each image of the chat thread. The height of this pl... (diff)
downloadsynapse-9c0e5704963f232a14545f26a4501b672a32beb4.tar.xz
Kill the "_homeserver_" injected messages for room membership changes
Diffstat (limited to '')
-rw-r--r--synapse/rest/room.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/room.py b/synapse/rest/room.py
index 1c48e63628..f5b547b963 100644
--- a/synapse/rest/room.py
+++ b/synapse/rest/room.py
@@ -193,7 +193,7 @@ class RoomMemberRestServlet(RestServlet):
             )
 
         handler = self.handlers.room_member_handler
-        yield handler.change_membership(event, broadcast_msg=True)
+        yield handler.change_membership(event)
         defer.returnValue((200, ""))
 
     @defer.inlineCallbacks
@@ -220,7 +220,7 @@ class RoomMemberRestServlet(RestServlet):
             )
 
         handler = self.handlers.room_member_handler
-        yield handler.change_membership(event, broadcast_msg=True)
+        yield handler.change_membership(event)
         defer.returnValue((200, ""))