Truncate `recentStreamEvents` before working out which event IDs to exclude from `stateEvents` (#2281)
Truncate `recentStreamEvents` before working out which event IDs to exclude from `stateEvents` (#2281)


matrix-org/dendrite,matrix-org/dendrite,matrix-org/dendrite,matrix-org/dendrite