summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/events/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index ed02138706..c43367fa20 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -160,3 +160,8 @@ class FrozenEvent(EventBase):
     def get_dict(self):
         # We need to unfreeze what we return
         return _unfreeze(super(FrozenEvent, self).get_dict())
+
+    def __str__(self):
+        return "<FrozenEvent event_id='%s', type='%s', state_key='%s'>" % (
+            self.event_id, self.type, self.state_key,
+        )