diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-10 14:02:48 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-10 14:02:48 +0000 |
commit | 02db7eb209af879a0168a371b4cb1c2ad0fcab49 (patch) | |
tree | 27535103af5903aa66c4561c02cbc24f5a013fd7 /synapse/handlers/message.py | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor (diff) | |
download | synapse-02db7eb209af879a0168a371b4cb1c2ad0fcab49.tar.xz |
Fix bug when uploading state with empty state_key
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 13fa0be7b4..9043b945e4 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -166,21 +166,6 @@ class MessageHandler(BaseHandler): defer.returnValue(event) @defer.inlineCallbacks - def store_room_data(self, event=None): - """ Stores data for a room. - - Args: - event : The room path event - stamp_event (bool) : True to stamp event content with server keys. - Raises: - SynapseError if something went wrong. - """ - - snapshot = yield self.store.snapshot_room(event) - - yield self._on_new_room_event(event, snapshot) - - @defer.inlineCallbacks def get_room_data(self, user_id=None, room_id=None, event_type=None, state_key=""): """ Get data from a room. |