diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-10-17 19:41:32 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-10-17 19:41:32 +0100 |
commit | 8afbece68319728e20c3b32c2f949fd1745d405e (patch) | |
tree | 126cc7e364332990399e928381cf0b2b9dbdd124 /synapse/federation | |
parent | Merge branch 'develop' into event_signing (diff) | |
download | synapse-8afbece68319728e20c3b32c2f949fd1745d405e.tar.xz |
Remove signatures from pdu when computing hashes to use for prev pdus, make sure is_state is a boolean.
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/units.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/units.py b/synapse/federation/units.py index b81e162512..b779d259bd 100644 --- a/synapse/federation/units.py +++ b/synapse/federation/units.py @@ -101,7 +101,7 @@ class Pdu(JsonEncodedObject): super(Pdu, self).__init__( destinations=destinations, - is_state=is_state, + is_state=bool(is_state), prev_pdus=prev_pdus, outlier=outlier, hashes=hashes, |