Do not crash in getStatusIds when there is a gap in the timeline (fixes #7400) (#7415)

Fixes a crash occurring when the “gap” disconnection indicator is to be
displayed in a filtered timeline.
lolsob-rspec
ThibG 2018-05-08 13:28:55 +02:00 committed by Eugen Rochko
parent 10be4c496c
commit 8ccc863ae8
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ const makeGetStatusIds = () => createSelector([
}
return statusIds.filter(id => {
if (id === null) return true;
const statusForId = statuses.get(id);
let showStatus = true;