summary refs log tree commit diff
path: root/synapse/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-03 17:20:56 +0100
committerErik Johnston <erik@matrix.org>2015-06-03 17:20:56 +0100
commit3bbd0d0e09c973d1280fa1cee2722cb2b8e46c89 (patch)
tree7d779559e825db59ee73836f0a67d3a635a97519 /synapse/state.py
parentMerge pull request #179 from matrix-org/erikj/state_group_outliers (diff)
parentDon't needlessly compute prev_state (diff)
downloadsynapse-3bbd0d0e09c973d1280fa1cee2722cb2b8e46c89.tar.xz
Merge pull request #180 from matrix-org/erikj/prev_state_context
Don't needlessly compute prev_state
Diffstat (limited to 'synapse/state.py')
-rw-r--r--synapse/state.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/state.py b/synapse/state.py
index 8a635f1cc1..80da90a72c 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -169,10 +169,6 @@ class StateHandler(object):
         context.current_state = curr_state
         context.state_group = group if not event.is_state() else None
 
-        prev_state = yield self.store.add_event_hashes(
-            prev_state
-        )
-
         if event.is_state():
             key = (event.type, event.state_key)
             if key in context.current_state: