summary refs log tree commit diff
path: root/synapse/events/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-18 15:02:43 +0000
committerErik Johnston <erik@matrix.org>2016-03-18 15:02:43 +0000
commit1660145a082470b2d390406a7ed0fed765d44d70 (patch)
treed9c154f0f5ebe5311b74c128f4e17b4846eebbc4 /synapse/events/__init__.py
parentYield on EDU handling (diff)
parentMerge pull request #656 from matrix-org/erikj/get_event (diff)
downloadsynapse-1660145a082470b2d390406a7ed0fed765d44d70.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/edu_yield
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r--synapse/events/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index bbfa5a7265..abed6b5e6b 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -168,5 +168,7 @@ class FrozenEvent(EventBase):
 
     def __repr__(self):
         return "<FrozenEvent event_id='%s', type='%s', state_key='%s'>" % (
-            self.event_id, self.type, self.get("state_key", None),
+            self.get("event_id", None),
+            self.get("type", None),
+            self.get("state_key", None),
         )