Don't send old events as federation

pull/1650/head
Erik Johnston 2016-11-24 12:29:02 +00:00
parent f36ea03741
commit 46ca345b06
1 changed files with 1 additions and 1 deletions

View File

@ -19,4 +19,4 @@
); );
INSERT INTO federation_stream_position (type, stream_id) VALUES ('federation', -1); 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;