summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-01-08 14:27:04 +0000
committerKegan Dougal <kegan@matrix.org>2015-01-08 14:28:08 +0000
commitedb557b2ad98d3260caaba41ef2278b3eafc7e85 (patch)
treed3c5bceb3f5c9fb142c4ff6f8ab23b095f4eae37 /synapse/server.py
parentAdd missing continuation indent. (diff)
downloadsynapse-edb557b2ad98d3260caaba41ef2278b3eafc7e85.tar.xz
Return the raw federation event rather than adding extra keys for federation data.
Diffstat (limited to '')
-rw-r--r--synapse/server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/server.py b/synapse/server.py
index 88161107af..d861efd2fd 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, remove_data=True):
-        return serialize_event(self, e, remove_data)
+    def serialize_event(self, e, as_client_event=True):
+        return serialize_event(self, e, as_client_event)
 
     def get_ip_from_request(self, request):
         # May be an X-Forwarding-For header depending on config