summary refs log tree commit diff
path: root/synapse/api/events
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-26 09:40:58 +0100
committerErik Johnston <erik@matrix.org>2014-08-26 09:40:58 +0100
commitfea7b60cf3d9265dd818370c75f9779c1f72497a (patch)
tree557bf1da4e48a08e6ede9be19d7795df2399e6bf /synapse/api/events
parentSend down state_key to clients (diff)
downloadsynapse-fea7b60cf3d9265dd818370c75f9779c1f72497a.tar.xz
Add 'state_key' to valid_keys
Diffstat (limited to 'synapse/api/events')
-rw-r--r--synapse/api/events/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/events/__init__.py b/synapse/api/events/__init__.py
index c5a3334b94..f9653e0b2a 100644
--- a/synapse/api/events/__init__.py
+++ b/synapse/api/events/__init__.py
@@ -41,6 +41,7 @@ class SynapseEvent(JsonEncodedObject):
         "room_id",
         "user_id",  # sender/initiator
         "content",  # HTTP body, JSON
+        "state_key",
     ]
 
     internal_keys = [