summary refs log tree commit diff
path: root/synapse/events/snapshot.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-08 09:08:26 +0000
committerErik Johnston <erik@matrix.org>2014-12-08 09:08:26 +0000
commitd044121168672c657e595525af9b588c8769e9bb (patch)
tree3f79777ad368b4d5d4042a629c53146125fd15b3 /synapse/events/snapshot.py
parentStart making more things use EventContext rather than event.* (diff)
downloadsynapse-d044121168672c657e595525af9b588c8769e9bb.tar.xz
Various typos and bug fixes.
Diffstat (limited to 'synapse/events/snapshot.py')
-rw-r--r--synapse/events/snapshot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/events/snapshot.py b/synapse/events/snapshot.py
index ca15ec09ae..e0cbacc19c 100644
--- a/synapse/events/snapshot.py
+++ b/synapse/events/snapshot.py
@@ -58,6 +58,7 @@ class EventCache(object):
 
 class EventContext(object):
 
-    def __init__(self, current_state, auth_events):
+    def __init__(self, current_state=None, auth_events=None):
         self.current_state = current_state
         self.auth_events = auth_events
+        self.state_group = None