summary refs log tree commit diff
path: root/synapse/federation/units.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-11-27 11:22:49 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-02-13 20:54:34 +0000
commit8d316f0060ac1db90dabbd5019b35eb8a4941eab (patch)
tree4ea08ca7cc665db9495b0cf9b564fb09d535f0ad /synapse/federation/units.py
parentStrip signatures and hashes on outgoing events (diff)
downloadsynapse-8d316f0060ac1db90dabbd5019b35eb8a4941eab.tar.xz
Reduce event ID size
Diffstat (limited to 'synapse/federation/units.py')
-rw-r--r--synapse/federation/units.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/units.py b/synapse/federation/units.py

index d278475d9a..bfd07e6615 100644 --- a/synapse/federation/units.py +++ b/synapse/federation/units.py
@@ -132,6 +132,8 @@ def _mangle_pdu(pdu_json): pdu_json["auth_events"] = list(_strip_hashes(pdu_json["auth_events"])) pdu_json["prev_events"] = list(_strip_hashes(pdu_json["prev_events"])) + logger.info("Mangled PDU: %s", pdu_json) + return pdu_json