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.
master
ThibG 6 years ago committed by Eugen Rochko
parent 993e68a7dd
commit b1938d7853
  1. 2
      app/javascript/mastodon/features/ui/containers/status_list_container.js

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

Loading…
Cancel
Save