diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-01-08 13:57:29 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-01-08 13:57:40 +0000 |
commit | 5720ab59e03d6f5ab48c3be22e8957a8891ea56c (patch) | |
tree | 93186a77a9f70485724bd0d419e1339bb7a776cb /synapse/server.py | |
parent | Add optional limit to graph script (diff) | |
download | synapse-5720ab59e03d6f5ab48c3be22e8957a8891ea56c.tar.xz |
Add 'raw' query parameter to expose the event graph and signatures to savvy clients.
Diffstat (limited to '')
-rw-r--r-- | synapse/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/server.py b/synapse/server.py index c3bf46abbf..88161107af 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -149,8 +149,8 @@ class BaseHomeServer(object): object.""" return EventID.from_string(s) - def serialize_event(self, e): - return serialize_event(self, e) + def serialize_event(self, e, remove_data=True): + return serialize_event(self, e, remove_data) def get_ip_from_request(self, request): # May be an X-Forwarding-For header depending on config |