diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 11:56:34 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 11:56:34 +0100 |
commit | 5043ef801a842d4a08bd196db475438867c93dff (patch) | |
tree | 8062f178a2700d2bf42a1596fe1058a5f1f4d3ca /synapse/federation/units.py | |
parent | Use engine-specific delta SQL files rather than delta written in Python. (diff) | |
parent | Merge branch 'develop' into rei/rss_target (diff) | |
download | synapse-5043ef801a842d4a08bd196db475438867c93dff.tar.xz |
Merge branch 'rei/rss_target' into rei/rss_inc2
Diffstat (limited to 'synapse/federation/units.py')
-rw-r--r-- | synapse/federation/units.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/federation/units.py b/synapse/federation/units.py index 14aad8f09d..aa84621206 100644 --- a/synapse/federation/units.py +++ b/synapse/federation/units.py @@ -38,6 +38,9 @@ class Edu(JsonEncodedObject): internal_keys = ["origin", "destination"] + def get_context(self): + return getattr(self, "content", {}).get("org.matrix.opentracing_context", "{}") + class Transaction(JsonEncodedObject): """ A transaction is a list of Pdus and Edus to be sent to a remote home |