mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 10:30:15 -05:00
[Glitch] Do not crash in getStatusIds when there is a gap in the timeline
Port b1938d7853
to glitch-soc
This commit is contained in:
parent
5cc4d34250
commit
fbc25bdd2d
@ -21,6 +21,8 @@ const makeGetStatusIds = () => createSelector([
|
|||||||
}
|
}
|
||||||
|
|
||||||
return statusIds.filter(id => {
|
return statusIds.filter(id => {
|
||||||
|
if (id === null) return true;
|
||||||
|
|
||||||
const statusForId = statuses.get(id);
|
const statusForId = statuses.get(id);
|
||||||
let showStatus = true;
|
let showStatus = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user