diff options
author | Erik Johnston <erik@matrix.org> | 2016-11-24 12:29:02 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-11-24 12:29:02 +0000 |
commit | 46ca345b06f02dcdef9aafb03525d01b4ce51f91 (patch) | |
tree | a3bffa154b2d7bbde4b79d1197d47ce4065eb41c /synapse/storage/schema/delta | |
parent | Bump changelog and version (diff) | |
download | synapse-46ca345b06f02dcdef9aafb03525d01b4ce51f91.tar.xz |
Don't send old events as federation
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r-- | synapse/storage/schema/delta/39/federation_out_position.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/39/federation_out_position.sql b/synapse/storage/schema/delta/39/federation_out_position.sql index edbd8e132f..5af814290b 100644 --- a/synapse/storage/schema/delta/39/federation_out_position.sql +++ b/synapse/storage/schema/delta/39/federation_out_position.sql @@ -19,4 +19,4 @@ ); INSERT INTO federation_stream_position (type, stream_id) VALUES ('federation', -1); - INSERT INTO federation_stream_position (type, stream_id) VALUES ('events', -1); + INSERT INTO federation_stream_position (type, stream_id) SELECT 'events', coalesce(max(stream_ordering), -1) FROM events; |