diff options
author | Erik Johnston <erik@matrix.org> | 2015-11-11 17:51:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-11-11 17:51:14 +0000 |
commit | 6341be45c6ceaa1b01a0b98ac6e24d2684841a26 (patch) | |
tree | e3bd4addb574125ee81931c20feb57c0712d46b0 /synapse/handlers/message.py | |
parent | Remove anonymous access, since its not ready yet (diff) | |
parent | Merge pull request #359 from matrix-org/markjh/incremental_indexing (diff) | |
download | synapse-6341be45c6ceaa1b01a0b98ac6e24d2684841a26.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.11.0
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 654ecd2b37..7d31ff8d46 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -167,7 +167,7 @@ class MessageHandler(BaseHandler): @defer.inlineCallbacks def create_and_send_event(self, event_dict, ratelimit=True, - token_id=None, txn_id=None): + token_id=None, txn_id=None, is_guest=False): """ Given a dict from a client, create and handle a new event. Creates an FrozenEvent object, filling out auth_events, prev_events, @@ -213,7 +213,7 @@ class MessageHandler(BaseHandler): if event.type == EventTypes.Member: member_handler = self.hs.get_handlers().room_member_handler - yield member_handler.change_membership(event, context) + yield member_handler.change_membership(event, context, is_guest=is_guest) else: yield self.handle_new_client_event( event=event, |