diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-10-17 17:12:25 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-10-17 17:12:25 +0100 |
commit | f5cf7ac25b311fda8a2d553f07437b3648c66f6c (patch) | |
tree | 62d43c8acf91281f59239f331745e9796a0f827e /synapse/federation/pdu_codec.py | |
parent | SPEC-7: Don't stamp event contents with 'hsob_ts' (diff) | |
download | synapse-f5cf7ac25b311fda8a2d553f07437b3648c66f6c.tar.xz |
SPEC-7: Rename 'ts' to 'origin_server_ts'
Diffstat (limited to 'synapse/federation/pdu_codec.py')
-rw-r--r-- | synapse/federation/pdu_codec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/pdu_codec.py b/synapse/federation/pdu_codec.py index cef61108dd..e8180d94fd 100644 --- a/synapse/federation/pdu_codec.py +++ b/synapse/federation/pdu_codec.py @@ -96,7 +96,7 @@ class PduCodec(object): if k not in ["event_id", "room_id", "type", "prev_events"] }) - if "ts" not in kwargs: - kwargs["ts"] = int(self.clock.time_msec()) + if "origin_server_ts" not in kwargs: + kwargs["origin_server_ts"] = int(self.clock.time_msec()) return Pdu(**kwargs) |