Don't send old events as federation
parent
f36ea03741
commit
46ca345b06
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue