element-web/src/stores
David Baker 0332bc99cb Fix bug where room list would get stuck showing no rooms
If you had an unsent message in a room that was in a sublist with
the 'Show rooms with unread messages first' option enabled, the
room list would show no rooms next time you restarted element and
get stuck that way.

This was because there was a different notification category for
rooms with unsent messages but the algorithm is hard-coded to add
only a fixed set of categories to its list, and it missed 'unsent',
so it NPEed when it encountered a room with an unsent message.

This just adds the category (assuming that we want to show rooms
with unsent messages first). It doesn't make it less hard-coded, or
fix the fact that an exception in the room list code causes everything
to break.

Fixes https://github.com/vector-im/element-web/issues/19373
2021-10-13 14:39:09 +01:00
..
local-echo Convert RoomNotifs to TS 2021-09-27 18:39:57 +02:00
notifications Convert RoomNotifs to TS 2021-09-27 18:39:57 +02:00
room-list Fix bug where room list would get stuck showing no rooms 2021-10-13 14:39:09 +01:00
widgets Convert ActiveWidgetStore to TS 2021-09-26 19:57:02 +02:00
ActiveWidgetStore.ts Convert ActiveWidgetStore to TS 2021-09-26 19:57:02 +02:00
AsyncStore.ts Don't re-freeze AsyncStore's state all the time 2020-07-22 10:52:45 -06:00
AsyncStoreWithClient.ts Resolve typing errors after TypeScript upgrade 2021-01-27 12:42:37 +00:00
BreadcrumbsStore.ts Move SettingsStore setting_updated dispatch to action enum 2021-07-27 17:19:45 +01:00
CommunityPrototypeStore.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
CustomRoomTagStore.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
FlairStore.js Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
GroupFilterOrderStore.js Offer a way to create a space based on existing community 2021-08-04 10:37:35 +01:00
GroupStore.js Offer a way to create a space based on existing community 2021-08-04 10:37:35 +01:00
HostSignupStore.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
LifecycleStore.ts Fix typo which broke feature_mjolnir 2021-07-31 02:11:49 -05:00
ModalWidgetStore.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
NonUrgentToastStore.ts Introduce a concept of "non-urgent" toasts 2020-07-29 12:43:35 -06:00
OwnProfileStore.ts Move background-blur to fully css version 2021-08-23 19:26:57 +02:00
ReadyWatchingStore.ts Appease the linter 2 2021-01-18 21:00:47 -07:00
RightPanelStore.ts Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
RightPanelStorePhases.ts Adapt threading UI to new backend 2021-08-17 10:38:09 +01:00
RoomScrollStateStore.ts Migrate RoomScrollStateStore to TypeScript 2021-07-03 12:21:00 +01:00
RoomViewStore.tsx Globally replace all console.logs via codemod (#6827) 2021-09-21 09:48:09 -06:00
SetupEncryptionStore.ts Make cross-signing dialog clearer and more context-aware 2021-10-05 00:54:20 -04:00
SpaceStore.ts Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19246 2021-10-07 13:20:06 +01:00
SpaceTreeLevelLayoutStore.ts Make SpaceTreeLevelLayoutStore into a singleton 2021-05-11 11:16:14 +02:00
ThreepidInviteStore.ts use more generic room type instead of boolean flag 2021-09-17 10:19:30 +01:00
ToastStore.ts Simplifie toast handling 2021-07-26 12:21:58 +02:00
TypingStore.ts Comply with new member-delimiter-style rule 2021-07-01 23:23:03 +01:00
UIStore.ts fix types 2021-07-21 16:39:41 +01:00
VoiceRecordingStore.ts Move src/voice to src/audio for better naming 2021-07-22 09:26:26 -06:00
WidgetEchoStore.ts Comply with new member-delimiter-style rule 2021-07-01 23:23:03 +01:00
WidgetStore.ts Convert ActiveWidgetStore to TS 2021-09-26 19:57:02 +02:00