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.
signup-info-prompt
ThibG 2018-05-08 13:28:55 +02:00 committed by Eugen Rochko
parent 993e68a7dd
commit b1938d7853
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;